mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Remove unnecessary assignment.
Reported by MauMau.
This commit is contained in:
		@@ -969,8 +969,6 @@ LWLockWaitForVar(LWLock *l, uint64 *valptr, uint64 oldval, uint64 *newval)
 | 
				
			|||||||
		 */
 | 
							 */
 | 
				
			||||||
		proc->lwWaiting = true;
 | 
							proc->lwWaiting = true;
 | 
				
			||||||
		proc->lwWaitMode = LW_WAIT_UNTIL_FREE;
 | 
							proc->lwWaitMode = LW_WAIT_UNTIL_FREE;
 | 
				
			||||||
		proc->lwWaitLink = NULL;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		/* waiters are added to the front of the queue */
 | 
							/* waiters are added to the front of the queue */
 | 
				
			||||||
		proc->lwWaitLink = lock->head;
 | 
							proc->lwWaitLink = lock->head;
 | 
				
			||||||
		if (lock->head == NULL)
 | 
							if (lock->head == NULL)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user