diff options
author | Jia Tan <jiat0218@gmail.com> | 2023-03-07 20:02:22 +0800 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2023-03-07 20:02:22 +0800 |
commit | 01587dda2a8f13fef7e12fd624e6d05da5f9624f (patch) | |
tree | c3157ba295cddaf2c570746abe5ef83f33a62e62 /src | |
parent | xz: Add warning if Capsicum sandbox system calls are unsupported. (diff) | |
download | xz-01587dda2a8f13fef7e12fd624e6d05da5f9624f.tar.xz |
xz: Fix -Wunused-label in io_sandbox_enter().
Thanks to Xin Li for recommending the fix.
Diffstat (limited to 'src')
-rw-r--r-- | src/xz/file_io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xz/file_io.c b/src/xz/file_io.c index 1a7dac13..bc4f933d 100644 --- a/src/xz/file_io.c +++ b/src/xz/file_io.c @@ -243,9 +243,9 @@ capsicum_error: sandbox_allowed = false; return; } -#endif - +#else error: +#endif message_fatal(_("Failed to enable the sandbox")); } #endif // ENABLE_SANDBOX |