From 9a9416f2a831e11a2b5cd1669ddd6b229e9c8414 Mon Sep 17 00:00:00 2001 From: brarcher Date: Sat, 10 Nov 2012 22:54:03 +0000 Subject: [PATCH] Moving the creation of the suite, to remove a compiler warning git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@671 64e312b2-a51f-0410-8e61-82d0ca0eb02a --- tests/check_check_log_internal.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/check_check_log_internal.c b/tests/check_check_log_internal.c index a7344a8..9b24be2 100644 --- a/tests/check_check_log_internal.c +++ b/tests/check_check_log_internal.c @@ -39,14 +39,15 @@ END_TEST Suite *make_log_internal_suite(void) { Suite *s; - - s = suite_create("Log"); #if ENABLE_SUBUNIT TCase *tc_core_subunit; + s = suite_create("Log"); tc_core_subunit = tcase_create("Core SubUnit"); suite_add_tcase(s, tc_core_subunit); tcase_add_test(tc_core_subunit, test_init_logging_subunit); +#else + s = suite_create("Log"); #endif return s; -- 2.50.1