1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-30 13:01:23 +03:00

sftp: Remove the break statements

They aren't needed and perhaps some compilers will issue "Unreachable
code" warnings.

Signed-off-by: Ramin Farajpour Cami <ramin.blackhat@gmail.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
raminfp
2019-05-21 15:11:29 +00:00
committed by Andreas Schneider
parent 9fb7fb3fac
commit 9b1772ecbd

View File

@@ -2365,7 +2365,6 @@ int sftp_rmdir(sftp_session sftp, const char *directory) {
case SSH_FX_OK: case SSH_FX_OK:
status_msg_free(status); status_msg_free(status);
return 0; return 0;
break;
default: default:
break; break;
} }
@@ -2464,7 +2463,6 @@ int sftp_mkdir(sftp_session sftp, const char *directory, mode_t mode)
case SSH_FX_OK: case SSH_FX_OK:
status_msg_free(status); status_msg_free(status);
return 0; return 0;
break;
default: default:
break; break;
} }