Prevent use of uninitialized variable

Per buildfarm member longfin.
This commit is contained in:
Alvaro Herrera 2019-04-02 16:03:26 -03:00
parent 11074f26bc
commit e8abf97af7

View File

@ -880,7 +880,8 @@ WaitForLockersMultiple(List *locktags, LOCKMODE lockmode, bool progress)
holders = lappend(holders,
GetLockConflicts(locktag, lockmode,
progress ? &count : NULL));
total += count;
if (progress)
total += count;
}
if (progress)