Bug #15285
closedClang reports warning in civetweb.c
0%
Description
The following warning sounds suspicious enough to report here
civetweb/src/civetweb.c:3496:27: warning: comparison of function 'SSLv23_client_method' equal to a null pointer is always false
[-Wtautological-pointer-compare]
} else if (use_ssl && SSLv23_client_method NULL) {
^~~~~~~~~~~~~~~~~~ ~~
civetweb/src/civetweb.c:3496:27: note: prefix with the address-of operator to silence this warning
} else if (use_ssl && SSLv23_client_method NULL) {
^
&
civetweb/src/civetweb.c:3496:27: note: suffix with parentheses to turn this into a function call
} else if (use_ssl && SSLv23_client_method == NULL) {
^
Updated by Yehuda Sadeh about 7 years ago
- Status changed from New to Closed
closing for now, feel free to reopen if the issue still exists.