diff --git a/cfg/gtk.cfg b/cfg/gtk.cfg index 09ecfed83e6..11a17e7f9ca 100644 --- a/cfg/gtk.cfg +++ b/cfg/gtk.cfg @@ -4063,7 +4063,6 @@ false - diff --git a/test/cfg/gtk.c b/test/cfg/gtk.c index a6da9b851ad..b819530125a 100644 --- a/test/cfg/gtk.c +++ b/test/cfg/gtk.c @@ -94,6 +94,9 @@ void validCode(int argInt, GHashTableIter * hash_table_iter, GHashTable * hash_t // transfer none functions: return value should not be unreffed const GApplication *app = g_application_get_default(); printf("%p\n", app); + + // boolean return value can be ignored (use-retval should not be used) + g_file_set_contents("file", "contents", -1, NULL); } void g_malloc_test()