Commit e8abf97a authored by Alvaro Herrera's avatar Alvaro Herrera

Prevent use of uninitialized variable

Per buildfarm member longfin.
parent 11074f26
...@@ -880,6 +880,7 @@ WaitForLockersMultiple(List *locktags, LOCKMODE lockmode, bool progress) ...@@ -880,6 +880,7 @@ WaitForLockersMultiple(List *locktags, LOCKMODE lockmode, bool progress)
holders = lappend(holders, holders = lappend(holders,
GetLockConflicts(locktag, lockmode, GetLockConflicts(locktag, lockmode,
progress ? &count : NULL)); progress ? &count : NULL));
if (progress)
total += count; total += count;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment