From f1b8f55d923d3b09bdd19d5adc33ae36ff71db8d Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Sat, 11 Apr 2015 20:01:45 +0200 Subject: [PATCH] use curly braces in if block --- tests.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests.c b/tests.c index d359fa7af4..0f58c09fd3 100644 --- a/tests.c +++ b/tests.c @@ -1448,7 +1448,8 @@ int main(void) srunner_run_all(sr, CK_VERBOSE); number_failed = srunner_ntests_failed(sr); srunner_free(sr); - if (number_failed == 0) + if (number_failed == 0) { printf("PASSED ALL TESTS\n"); + } return number_failed; }