aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolai Kondrashov <Nikolai.Kondrashov@redhat.com>2015-08-28 19:53:41 +0300
committerDaniel Stenberg <daniel@haxx.se>2015-08-28 22:51:55 +0200
commit1abb218fe0c6cc6758b3074ab26b90745ce22dd5 (patch)
tree2795380dae18af48d8677d4d2bb6cb56bea6aa7c
parentac7be02e695af95e93b3f5a40b80dcab782f5321 (diff)
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
-rw-r--r--docs/libcurl/libcurl.m42
1 files changed, 1 insertions, 1 deletions
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