mirror of
https://github.com/postgres/postgres.git
synced 2025-08-30 06:01:21 +03:00
Prevent use of uninitialized variable
Per buildfarm member longfin.
This commit is contained in:
@@ -880,6 +880,7 @@ WaitForLockersMultiple(List *locktags, LOCKMODE lockmode, bool progress)
|
||||
holders = lappend(holders,
|
||||
GetLockConflicts(locktag, lockmode,
|
||||
progress ? &count : NULL));
|
||||
if (progress)
|
||||
total += count;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user