From: Yang Tse Date: Sat, 21 Oct 2006 10:54:41 +0000 (+0000) Subject: Compiler warning fix X-Git-Tag: curl-7_16_0~46 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=33acd6f041ad3f31a985da1cf54668d0e619535d;p=curl Compiler warning fix --- diff --git a/tests/libtest/lib536.c b/tests/libtest/lib536.c index ca6c5c6b5..6ac24b40d 100644 --- a/tests/libtest/lib536.c +++ b/tests/libtest/lib536.c @@ -62,7 +62,7 @@ static CURLMcode perform(CURLM * multi) } /* We only reach this point if (mp_timedout) */ - fprintf(stderr, "mp_timedout\n"); + if (mp_timedout) fprintf(stderr, "mp_timedout\n"); fprintf(stderr, "ABORTING TEST, since it seems " "that it would have run forever.\n"); return (CURLMcode) ~CURLM_OK;