Fix a warning - unused variable.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Thu, 12 Jul 2012 11:06:31 +0000 (11:06 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Thu, 12 Jul 2012 11:06:31 +0000 (11:06 +0000)
org.glite.lbjp-common.db/src/db-pg.c

index 9480d7d..26a03e4 100644 (file)
@@ -126,7 +126,6 @@ static const char *prepared_names[4] = {"select", "update", "insert", "other"};
 
 int glite_lbu_InitDBContextPsql(glite_lbu_DBContext *ctx_gen) {
        glite_lbu_DBContextPsql ctx;
-       int err = 0;
 
        ctx = calloc(1, sizeof *ctx);
        if (!ctx) return ENOMEM;