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
This commit is contained in:
Nikolai Kondrashov 2015-08-28 19:53:41 +03:00 committed by Daniel Stenberg
parent ac7be02e69
commit 1abb218fe0
1 changed files with 1 additions and 1 deletions

View File

@ -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