mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	style: add comment to empty while loop in logind.c
This commit is contained in:
		
							parent
							
								
									dcc743047b
								
							
						
					
					
						commit
						e37ebf6869
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -331,7 +331,7 @@ static bool add_signal_matches(struct logind_session *session) {
 | 
				
			||||||
static int dbus_event(int fd, uint32_t mask, void *data) {
 | 
					static int dbus_event(int fd, uint32_t mask, void *data) {
 | 
				
			||||||
	sd_bus *bus = data;
 | 
						sd_bus *bus = data;
 | 
				
			||||||
	while (sd_bus_process(bus, NULL) > 0) {
 | 
						while (sd_bus_process(bus, NULL) > 0) {
 | 
				
			||||||
		;
 | 
							// Do nothing.
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	return 1;
 | 
						return 1;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue