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

Commit 18f158e

Browse files
committed
Remove unnecessary assignment.
Reported by MauMau.
1 parent c0e1903 commit 18f158e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/backend/storage/lmgr/lwlock.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -997,8 +997,6 @@ LWLockWaitForVar(LWLock *lock, uint64 *valptr, uint64 oldval, uint64 *newval)
997997
*/
998998
proc->lwWaiting = true;
999999
proc->lwWaitMode = LW_WAIT_UNTIL_FREE;
1000-
proc->lwWaitLink = NULL;
1001-
10021000
/* waiters are added to the front of the queue */
10031001
proc->lwWaitLink = lock->head;
10041002
if (lock->head == NULL)

0 commit comments

Comments
 (0)