mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:21:41 +03:00
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:
parent
ac7be02e69
commit
1abb218fe0
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue