From: Yang Tse Date: Thu, 4 Feb 2010 14:50:58 +0000 (+0000) Subject: Fix variable initialization X-Git-Tag: upstream/7.37.1~5336 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1a5749424b11b117b4a6c8732b6b959de14d1741;p=platform%2Fupstream%2Fcurl.git Fix variable initialization --- diff --git a/tests/libtest/lib557.c b/tests/libtest/lib557.c index c9400a6..d09b567 100644 --- a/tests/libtest/lib557.c +++ b/tests/libtest/lib557.c @@ -219,7 +219,7 @@ static int test_signed_short_formatting(void) #if (SIZEOF_SHORT == 1) - i++; ss_test[i].num = 0x7F; ss_test[i].expected = "127"; + i=1; ss_test[i].num = 0x7F; ss_test[i].expected = "127"; i++; ss_test[i].num = 0x70; ss_test[i].expected = "112"; i++; ss_test[i].num = 0x07; ss_test[i].expected = "7";