From 9b1772ecbdb5b1daeadce6646c90d15defd3d81c Mon Sep 17 00:00:00 2001 From: raminfp Date: Tue, 21 May 2019 15:11:29 +0000 Subject: [PATCH] sftp: Remove the break statements They aren't needed and perhaps some compilers will issue "Unreachable code" warnings. Signed-off-by: Ramin Farajpour Cami Reviewed-by: Andreas Schneider --- src/sftp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/sftp.c b/src/sftp.c index a122c2c4..55d42586 100644 --- a/src/sftp.c +++ b/src/sftp.c @@ -2365,7 +2365,6 @@ int sftp_rmdir(sftp_session sftp, const char *directory) { case SSH_FX_OK: status_msg_free(status); return 0; - break; default: break; } @@ -2464,7 +2463,6 @@ int sftp_mkdir(sftp_session sftp, const char *directory, mode_t mode) case SSH_FX_OK: status_msg_free(status); return 0; - break; default: break; }