]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib: Remove unreachable code.
authorsergey.kitov <sergey.kitov@open-xchange.com>
Mon, 3 Jan 2022 15:11:56 +0000 (17:11 +0200)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Wed, 19 Jan 2022 11:06:38 +0000 (11:06 +0000)
src/lib/failures.c

index 42ce6d7d6f1c9ecfadfa3d7b1e752a72706e09fd..d3d0002f5f36e7e3c65df2987776bd0b58d6f209 100644 (file)
@@ -109,10 +109,8 @@ static void default_on_handler_failure(const struct failure_context *ctx)
                   write error to error log - maybe that'll work. */
                i_fatal_status(FATAL_LOGWRITE, "write() failed to %s log: %m",
                               log_type);
-               break;
        default:
                failure_exit(FATAL_LOGWRITE);
-               break;
        }
 }