Add additional uninitialized varibale warning to compile options

This commit is contained in:
Mario Hüttel 2019-08-25 21:56:21 +02:00
parent 2af859b136
commit dc0520e9d3

View File

@ -32,7 +32,7 @@ set(SOURCE
${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_dependencies(${PROJECT_NAME} glib-resources)