From 109ad6e6a2cfa31deb33ebfcef838ba337ff208f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrico=20Tr=C3=B6ger?= Date: Sun, 3 Nov 2024 13:29:45 +0100 Subject: [PATCH] Geanyprj: remove unused function "true" This also fixes a strange error with recent cppcheck version. --- geanyprj/src/unittests.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/geanyprj/src/unittests.c b/geanyprj/src/unittests.c index bd1201a95..078531c2e 100644 --- a/geanyprj/src/unittests.c +++ b/geanyprj/src/unittests.c @@ -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);