From 1abb218fe0c6cc6758b3074ab26b90745ce22dd5 Mon Sep 17 00:00:00 2001 From: Nikolai Kondrashov Date: Fri, 28 Aug 2015 19:53:41 +0300 Subject: libcurl.m4: Put braces around empty if body Put braces around empty "if" body in libcurl.m4 check to avoid warning: suggest braces around empty body in an 'if' statement and make it work with -Werror builds. Closes #402 --- docs/libcurl/libcurl.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/libcurl/libcurl.m4') diff --git a/docs/libcurl/libcurl.m4 b/docs/libcurl/libcurl.m4 index 2cf3edd1b..f6ebdd239 100644 --- a/docs/libcurl/libcurl.m4 +++ b/docs/libcurl/libcurl.m4 @@ -178,7 +178,7 @@ x=CURLOPT_WRITEDATA; x=CURLOPT_ERRORBUFFER; x=CURLOPT_STDERR; x=CURLOPT_VERBOSE; -if (x) ; +if (x) {;} ]])],libcurl_cv_lib_curl_usable=yes,libcurl_cv_lib_curl_usable=no) CPPFLAGS=$_libcurl_save_cppflags -- cgit v1.2.3