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 7f4129f commit 8426427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cfg/gtk.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +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/>?
// cppcheck-suppress valueFlowBailout // 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 8426427

Please sign in to comment.