Add additional uninitialized varibale warning to compile options
This commit is contained in:
		@@ -32,7 +32,7 @@ set(SOURCE
 | 
				
			|||||||
  ${LAYER_SELECTOR_SOURCES}
 | 
					  ${LAYER_SELECTOR_SOURCES}
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
add_compile_options(-Wall -Wold-style-declaration)
 | 
					add_compile_options(-Wall -Wold-style-declaration -Wuninitialized -Wmaybe-uninitialized)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
add_executable(${PROJECT_NAME} ${SOURCE} ${CMAKE_CURRENT_BINARY_DIR}/resources/resources.c)
 | 
					add_executable(${PROJECT_NAME} ${SOURCE} ${CMAKE_CURRENT_BINARY_DIR}/resources/resources.c)
 | 
				
			||||||
add_dependencies(${PROJECT_NAME} glib-resources)
 | 
					add_dependencies(${PROJECT_NAME} glib-resources)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user