Skip to content

Commit

Permalink
Fix default return value in alter_system_int()
Browse files Browse the repository at this point in the history
  • Loading branch information
ibarwick committed Apr 1, 2019
1 parent 83e492d commit 347948b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dbutils.c
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,7 @@ alter_system_int(PGconn *conn, const char *name, int value)
{
PQExpBufferData query;
PGresult *res = NULL;
bool success = false;
bool success = true;

initPQExpBuffer(&query);
appendPQExpBuffer(&query,
Expand All @@ -1125,7 +1125,6 @@ alter_system_int(PGconn *conn, const char *name, int value)
success = false;
}


termPQExpBuffer(&query);
PQclear(res);

Expand Down

0 comments on commit 347948b

Please sign in to comment.