From: sergey.kitov Date: Thu, 30 Dec 2021 15:01:46 +0000 (+0200) Subject: lib-smtp: Remove unreachable code. X-Git-Tag: 2.4.0~4661 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1b29abab80fbe87a8cbe934bfa955fd03c4908b3;p=thirdparty%2Fdovecot%2Fcore.git lib-smtp: Remove unreachable code. --- diff --git a/src/lib-smtp/smtp-command-parser.c b/src/lib-smtp/smtp-command-parser.c index f50abc9e94..a57ebb69e0 100644 --- a/src/lib-smtp/smtp-command-parser.c +++ b/src/lib-smtp/smtp-command-parser.c @@ -396,7 +396,6 @@ static int smtp_command_parse_line(struct smtp_command_parser *parser) } i_unreached(); - return -1; } static int smtp_command_parse(struct smtp_command_parser *parser) diff --git a/src/lib-smtp/smtp-reply-parser.c b/src/lib-smtp/smtp-reply-parser.c index aeb5d17c2a..fd73f264de 100644 --- a/src/lib-smtp/smtp-reply-parser.c +++ b/src/lib-smtp/smtp-reply-parser.c @@ -537,7 +537,6 @@ static int smtp_reply_parse_more(struct smtp_reply_parser *parser) } i_unreached(); - return -1; } static int smtp_reply_parse(struct smtp_reply_parser *parser)