From 44e45557650d35a1aadeaa315536c4cc4007d188 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Mon, 15 Jan 2024 19:52:17 +0100 Subject: [PATCH] girepository/cmph-bdz-test: Avoid using unused temporary variable --- girepository/tests/cmph-bdz.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/girepository/tests/cmph-bdz.c b/girepository/tests/cmph-bdz.c index aec4f79fd..56aac0979 100644 --- a/girepository/tests/cmph-bdz.c +++ b/girepository/tests/cmph-bdz.c @@ -142,15 +142,11 @@ test_search_packed (void) int main(int argc, char **argv) { - gint ret; - g_test_init (&argc, &argv, NULL); g_test_add_func ("/cmph-bdz/search", test_search); g_test_add_func ("/cmph-bdz/search-packed", test_search_packed); - ret = g_test_run (); - - return ret; + return g_test_run (); }