build: Warn about potentially uninitialized variables

This commit is contained in:
Evangelos Ribeiro Tzaras
2022-11-01 13:15:40 +01:00
parent db10975bb8
commit c7afdc5375

View File

@@ -109,6 +109,7 @@ if get_option('buildtype').contains('debug')
'-Wjump-misses-init', '-Wjump-misses-init',
'-Wlogical-op', '-Wlogical-op',
'-Wnested-externs', '-Wnested-externs',
'-Wmaybe-uninitialized',
'-Wmissing-declarations', '-Wmissing-declarations',
'-Wmissing-format-attribute', '-Wmissing-format-attribute',
'-Wmissing-include-dirs', '-Wmissing-include-dirs',