-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Closed
Labels
Description
I did this
Compiling curl with ./configure CC=clang --enable-debug --with-libssh --prefix=$HOME/tmp
vssh/libssh.c:706:47: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
MOVE_TO_ERROR_STATE(CURLE_FAILED_INIT);
^
vssh/libssh.c:716:60: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
MOVE_TO_ERROR_STATE(CURLE_PEER_FAILED_VERIFICATION);
^
vssh/libssh.c:737:50: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
MOVE_TO_ERROR_STATE(CURLE_LOGIN_DENIED);
^
vssh/libssh.c:755:50: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
MOVE_TO_ERROR_STATE(CURLE_LOGIN_DENIED);
^
vssh/libssh.c:762:31: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
MOVE_TO_SECONDARY_AUTH;
...
I expected the following
No warnings regarding unnecessary semicolons
curl/libcurl version
curl: f573998
libssh: 0.9.5
operating system
FreeBSD freebsd 12.2-RELEASE-p4 FreeBSD 12.2-RELEASE-p4 GENERIC amd64
Reactions are currently unavailable