Skip to content

Commit

Permalink
Remove unused initializations in manage_optimize
Browse files Browse the repository at this point in the history
In the "vacuum" case, old_size and new_size no longer need to be
initialized with 0.
  • Loading branch information
timopollmeier committed Mar 16, 2021
1 parent f42fa43 commit b4d48f7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/manage_sql.c
Original file line number Diff line number Diff line change
Expand Up @@ -56454,9 +56454,6 @@ manage_optimize (GSList *log_config, const db_conn_info_t *database,
gchar *quoted_db_name;
unsigned long long int old_size, new_size;

old_size = 0LL;
new_size = 0LL;

quoted_db_name = sql_quote (sql_database ());

old_size = sql_int64_0 ("SELECT pg_database_size ('%s')",
Expand Down

0 comments on commit b4d48f7

Please sign in to comment.