Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3345ba4

Browse files
committed
Remove unnecessary assignment.
Reported by MauMau.
1 parent c68bff6 commit 3345ba4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/backend/storage/lmgr/lwlock.c

-2
Original file line numberDiff line numberDiff line change
@@ -969,8 +969,6 @@ LWLockWaitForVar(LWLock *l, uint64 *valptr, uint64 oldval, uint64 *newval)
969969
*/
970970
proc->lwWaiting = true;
971971
proc->lwWaitMode = LW_WAIT_UNTIL_FREE;
972-
proc->lwWaitLink = NULL;
973-
974972
/* waiters are added to the front of the queue */
975973
proc->lwWaitLink = lock->head;
976974
if (lock->head == NULL)

0 commit comments

Comments
 (0)