mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Merge pull request #227 from xerpi/master
Check the client_setup() return value
This commit is contained in:
		
						commit
						ab3d6f6fa1
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
					@ -14,7 +14,9 @@ void sway_terminate(void) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
int main(int argc, char **argv) {
 | 
					int main(int argc, char **argv) {
 | 
				
			||||||
	init_log(L_INFO);
 | 
						init_log(L_INFO);
 | 
				
			||||||
	state = client_setup();
 | 
						if (!(state = client_setup())) {
 | 
				
			||||||
 | 
							return -1;
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	uint8_t r = 0, g = 0, b = 0;
 | 
						uint8_t r = 0, g = 0, b = 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue