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 (); }