diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-04-17 19:00:15 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-04-17 19:02:03 +0200 |
commit | 7a7c2ddd9eb01d0b281e7ee77ff84440fb582576 (patch) | |
tree | 12b609bb5901ad537b75b5de5fd1190bbee9e218 /lib/ssh.c | |
parent | 6fc805d0c1f82363836f1c6199cebdd3c41cbc5b (diff) | |
download | curl-bagder/libssh-break.tar.gz |
libssh: fix "empty expression statement has no effect" warningsbagder/libssh-break
... by fixing macros to do-while constructs and moving out the calls to
"break" outside of the actual macro. It also fixes the problem where the
macro was used witin a loop and the break didn't do right.
Reported-by: Emil Engler
Fixes #6847
Diffstat (limited to 'lib/ssh.c')
0 files changed, 0 insertions, 0 deletions