From ea0c7141396b797f0362a78fe29dd4e04ae7e8d6 Mon Sep 17 00:00:00 2001 From: Olivier MEDOC Date: Tue, 12 Sep 2017 21:05:40 +0200 Subject: [PATCH] Fix gcc Werror because of a typo in a switch/case explicit fallthrough comment GCC crash because of -Werror=implicit-fallthrough. However the fallthrough exists but has a typo. Thanks for omac777 analysis (https://github.com/QubesOS/qubes-builder/commit/7d0b8155a3ba5e09f09d71e4c7e9a60f85292deb) However the fallthrough exists but has a typo --- qrexec-lib/pack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qrexec-lib/pack.c b/qrexec-lib/pack.c index f5885a0..6d54dd2 100644 --- a/qrexec-lib/pack.c +++ b/qrexec-lib/pack.c @@ -100,7 +100,7 @@ void wait_for_result(void) * desynchronized in this case */ return; } - /* fall though */ + /* fallthrough */ default: call_error_handler("File copy: %s%s%s", strerror(hdr.error_code), last_filename_prefix, last_filename);