You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add dummy macros for conditionally defined macros (#211)
Cppcheck reports "unknownMacro" when a conditionally defined macro is
used.
This patch adds dummy macros to make code pass the static analytics
without other effects. The assignments and increments make cppcheck
consider the variables are used to suppress potential reports about
uninitialized variables, unused variables, and can-be-constant
variables. The pointers with value 1 instead of NULL suppress reports
about indirectly getting value of null pointers.
Closes#210
Change-Id: Ia8db49c0c71ab82d5da10ce389f57ebb69c99051
0 commit comments