git: c0c066f86dd1 - main - config: Remove redundant code

From: Warner Losh <imp_at_FreeBSD.org>
Date: Thu, 06 Jun 2024 21:50:52 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=c0c066f86dd19c4802812b3ae28b019ca4909c56

commit c0c066f86dd19c4802812b3ae28b019ca4909c56
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-06-03 18:37:02 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-06-06 21:48:38 +0000

    config: Remove redundant code
    
    since errx is marked dead2, we don't need this.
    
    Noticed by:             jrtc27
    Sponsored by:           Netflix
---
 usr.sbin/config/config.y | 2 --
 1 file changed, 2 deletions(-)

diff --git a/usr.sbin/config/config.y b/usr.sbin/config/config.y
index 148959fbff2e..4120ffa54b1c 100644
--- a/usr.sbin/config/config.y
+++ b/usr.sbin/config/config.y
@@ -304,8 +304,6 @@ yyerror(const char *s)
 {
 
 	errx(1, "%s:%d: %s", yyfile, yyline + 1, s);
-	__unreachable();
-	return (0);
 }
 
 int