Skip to content

Commit

Permalink
Update gtk.c
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github authored Apr 29, 2024
1 parent 1b2e0c5 commit 7f4129f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/cfg/gtk.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ void validCode(int argInt, GHashTableIter * hash_table_iter, GHashTable * hash_t

// NULL is handled graciously
char* str = g_strdup(NULL);
// cppcheck-suppress valueFlowAfterCondition // TODO: caused by <pure/>?
if (g_strcmp0(str, NULL) || g_strcmp0(NULL, str))
printf("%s", str);
g_free(str);
Expand Down

0 comments on commit 7f4129f

Please sign in to comment.