Skip to content

Commit

Permalink
Geanyprj: remove unused function "true"
Browse files Browse the repository at this point in the history
This also fixes a strange error with recent cppcheck version.
  • Loading branch information
eht16 committed Nov 3, 2024
1 parent 02900e5 commit 109ad6e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions geanyprj/src/unittests.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@ file_teardown(void)
system("rm -rf test_list_dir");
}

gboolean
true(G_GNUC_UNUSED const gchar * arg)
{
return TRUE;
}

START_TEST(test_get_file_list)
{
GSList *files = get_file_list("test_list_dir", NULL, NULL, NULL);
Expand Down

0 comments on commit 109ad6e

Please sign in to comment.