Skip to content

Commit

Permalink
Suppressed cppcheck where it produces false negatives (#1070)
Browse files Browse the repository at this point in the history
Suppressed cppcheck where it produces false negatives
  • Loading branch information
jesper-friis authored Jan 21, 2025
1 parent 609e510 commit a47165d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions storages/python/tests-c/test_postgresql_storage2.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@


#ifdef PASSWORD
// cppcheck-suppress [syntaxError, unknownMacro]
char *options = "database=" DATABASE ";user=" USER ";password=" PASSWORD;
#else
// cppcheck-suppress [syntaxError, unknownMacro]
char *options = "database=" DATABASE ";user=" USER;
#endif

Expand Down

0 comments on commit a47165d

Please sign in to comment.