vacuumdb: Don't assign negative values to a boolean.
Andres Freund <andres@anarazel.de>
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: 20150812084351.GD8470@awork2.anarazel.de Backpatch: 9.5
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/scripts/vacuumdb.c | modified | +4 −4 |