This repository was archived by the owner on Apr 17, 2020. It is now read-only.
File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -310,7 +310,7 @@ check-includes:
310
310
@git ls-files -- " *.c" " *.h" | grep -vE ' ^ccan/' | xargs grep -n ' list_for_each' | sed ' s/\([^:]*:.*\):.*/uninitvar:\1/' > $@
311
311
312
312
check-cppcheck : .cppcheck-suppress
313
- @trap ' rm -f .cppcheck-suppress' 0; git ls-files -- " *.c" " *.h" | grep -vE ' ^ccan/' | xargs cppcheck -q --language=c --std=c11 --error-exitcode=1 --suppressions-list=.cppcheck-suppress
313
+ @trap ' rm -f .cppcheck-suppress' 0; git ls-files -- " *.c" " *.h" | grep -vE ' ^ccan/' | xargs cppcheck -q --language=c --std=c11 --error-exitcode=1 --suppressions-list=.cppcheck-suppress --inline-suppr
314
314
315
315
check-shellcheck :
316
316
@git ls-files -- " *.sh" | xargs shellcheck
Original file line number Diff line number Diff line change @@ -900,6 +900,8 @@ u8 *handle_channel_announcement(struct routing_state *rstate,
900
900
tal_add_destructor2 (pending , destroy_pending_cannouncement , rstate );
901
901
902
902
/* Success */
903
+ // MSC: Cppcheck 1.86 gets this false positive
904
+ // cppcheck-suppress autoVariables
903
905
* scid = & pending -> short_channel_id ;
904
906
return NULL ;
905
907
You can’t perform that action at this time.
0 commit comments