fix compiler warnings with clang and "-Wextra"
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | rule: fix "const static" declarationsrc/ | +2 | 0 replies | |
| 2/5 | utils: call abort() after BUG() macroinclude/ | +2 | 0 replies | |
| 3/5 | src: silence "implicit-fallthrough" warningssrc/ src/ | +3 | 0 replies | |
| 4/5 | xt: avoid "-Wmissing-field-initializers" for "original_opts"src/ | +1 | 0 replies | |
| 5/5 | datatype: check against negative "type" argument in datatype_lookup()src/ | +1 | 6 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH nft 0/5] fix compiler warnings with clang and "-Wextra"
More fixes (workarounds) for compiler warnings. Mostly by enabling "-Wextra" with gcc.
Thomas Haller (5):
rule: fix "const static" declaration
utils: call abort() after BUG() macro
src: silence "implicit-fallthrough" warnings
xt: avoid "-Wmissing-field-initializers" for "original_opts"
datatype: check against negative "type" argument in datatype_lookup()
include/utils.h | 3 ++- src/datatype.c | 2 +- src/optimize.c | 1 + src/rule.c | 4 ++-- src/segtree.c | 5 ++--- src/xt.c | 2 +- 6 files changed, 9 insertions(+), 8 deletions(-)
Signature · 1 line
2.41.0