From 27c3582dc5880a5ebe071e94e4d0f0b6406aae2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Pierret?= Date: Mon, 25 Sep 2017 16:45:51 +0200 Subject: [PATCH] GCC7 fix fallthrough: add default call_error_handler into EDQUOT case --- qrexec-lib/pack.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qrexec-lib/pack.c b/qrexec-lib/pack.c index 6d54dd2..6b0fea1 100644 --- a/qrexec-lib/pack.c +++ b/qrexec-lib/pack.c @@ -100,10 +100,10 @@ void wait_for_result(void) * desynchronized in this case */ return; } - /* fallthrough */ + call_error_handler("File copy: %s%s%s",strerror(hdr.error_code), last_filename_prefix, last_filename); + break; default: - call_error_handler("File copy: %s%s%s", - strerror(hdr.error_code), last_filename_prefix, last_filename); + call_error_handler("File copy: %s%s%s",strerror(hdr.error_code), last_filename_prefix, last_filename); } } if (hdr.crc32 != crc32_sum) {