vacuumdb: Don't assign negative values to a boolean. Since a17923204736 (vacuumdb: enable parallel mode) -1 has been assigned to a boolean. That can, justifiedly, trigger compiler warnings. There's also no need for ternary logic, result was only ever set to 0 or -1. So don't.
Discussion: [email protected] Backpatch: 9.5 Branch ------ REL9_5_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/32951f9aa9acfd4b6318f6daf39c3d1c10a264ba Modified Files -------------- src/bin/scripts/vacuumdb.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- Sent via pgsql-committers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers
