mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
Meta: Enable nonnull-compare
warnings
Previously, this was disabled because GCC flagged seemingly correct and well-defined code. This was however not the case because GCC implicitly marked some pointers non-null, even if we wanted to handle them ourselves, and deleted null checks on them. By re-introducing this warning, we will know if the compiler tries to discard our code again.
This commit is contained in:
parent
c2c12e9dc5
commit
49d795b985
Notes:
sideshowbarker
2024-07-18 07:03:33 +09:00
Author: https://github.com/BertalanD Commit: https://github.com/SerenityOS/serenity/commit/49d795b985a Pull-request: https://github.com/SerenityOS/serenity/pull/9339 Reviewed-by: https://github.com/alimpfard Reviewed-by: https://github.com/dascandy ✅
1 changed files with 0 additions and 1 deletions
|
@ -253,7 +253,6 @@ add_compile_options(-Wimplicit-fallthrough)
|
|||
add_compile_options(-Wlogical-op)
|
||||
add_compile_options(-Wmisleading-indentation)
|
||||
add_compile_options(-Wmissing-declarations)
|
||||
add_compile_options(-Wno-nonnull-compare)
|
||||
add_compile_options(-Wnon-virtual-dtor)
|
||||
add_compile_options(-Wno-unknown-warning-option)
|
||||
add_compile_options(-Wundef)
|
||||
|
|
Loading…
Reference in a new issue