From 4f9adf902bb5ddbd44910b04ca0a301c869a7d5a Mon Sep 17 00:00:00 2001 From: Raymond Lu Date: Wed, 26 Sep 2012 15:06:08 -0500 Subject: [svn-r22815] Issue 8164 - test_image.c printed an extra "FAILED" after it succeeded. A test function doesn't return 0 after it succeeds. It goes down to the error handling branch and prints "FAILED". The fix is adding "return 0;" in the end of the function. Tested on jam - simple change. --- hl/test/test_image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hl/test/test_image.c b/hl/test/test_image.c index 4cef1b4..a4a10e4 100644 --- a/hl/test/test_image.c +++ b/hl/test/test_image.c @@ -676,7 +676,7 @@ static int test_generate(void) goto out; /* Indicate success */ - retval = 0; + return 0; /* error zone, gracefully close */ out: -- cgit v0.12