diff options
author | Fedja Beader <fedja@protonmail.ch> | 2025-02-12 00:47:09 +0100 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2025-02-12 00:50:46 +0100 |
commit | 8c4e666b867df80af088c7f80798d7963f658163 (patch) | |
tree | 537cb5bd97f5b7f33eceff70fbb3607d7a81e847 /Makefile | |
parent | b86071ad388553171aa22558baffdf5adc9df02b (diff) | |
download | evol-hercules-remove_unnecessary_nullptr_check.tar.gz evol-hercules-remove_unnecessary_nullptr_check.tar.bz2 evol-hercules-remove_unnecessary_nullptr_check.tar.xz evol-hercules-remove_unnecessary_nullptr_check.zip |
Fix "warning: the comparison will always evaluate as 'true' for the address of 'data' will never be NULL [-Waddress]"remove_unnecessary_nullptr_check
sc.data might be an empty array, but even then it's a valid pointer.
Might be better to check if SC_BOTTER_SYNDROME < SC_MAX, but that should
be an assert someplace else? Depending on how this extra SC mechanics
work (did not look).
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions