From nobody Thu Jun 06 21:50:52 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VwJ190JJlz5N59n; Thu, 06 Jun 2024 21:50:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VwJ186cRPz43g3; Thu, 6 Jun 2024 21:50:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717710652; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cA89qArgBkFm+zzus8w4hN2j0iq42hxABvJUCsMAAJE=; b=YX6SmWK2cQk+/OwKhs51gUyX0fpaK49K5MEV01JwsKyTDoPk8kEJ6lIhEu4KoDikKgiTso NykG1NWlt2i6YBoDu7lie5qMcllfXaJJ2ad7TjHlyprUh4seLyeMxSMtYCbzXoN5ypPcTU IPuybbhWpIKHkN1V8KSNztPQVAASv/5vKgfkGTYx56lYmG5AGBzqmvAobDmX/84VC4MbaC mzCazyX99CmNDqk3g6L9zbL/xisJ3IHQwo5jc2xbkzp53+p0i+GHi/2TfGD/S2Sfyzwx68 hyoCOUG5GvjzxE6mtTtCWeft/zSXyucYjoWk9PsQhTbaCv4hivh6ifk+gFL7Rw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717710652; a=rsa-sha256; cv=none; b=qvxOWu1O3HWB54ztiyxRTS4uvKjsPYKIuvemDg+qHqguFkcXAeQ9DssXHLDXtmdKwYZsJm FcqTylSx0vfFXD8VGZHss3/5DbRv6G7J/HtDDrC/1e258ZapoWAIJi+wbdSSnH6Ggq1bJC JKlFsDShqreRcx4bv3F0Bp9QB1FWgn1MXmy0gdRefNEV/v2+n67gzCwaoO73dCr4ChMKut JCD1A7vIod9JviZlNfWNEFFbcS0jcuueqZ0hQgcgS3etNJHyPtvLwiRSdJuR7LuiDSdZYl qvfGHzRjMIXnWI7rEOXYaYiQCve7V09jPrHpKozOrP5bHClyIQlmCok/aaM6fw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717710652; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cA89qArgBkFm+zzus8w4hN2j0iq42hxABvJUCsMAAJE=; b=NF7SxC1gRUe8TW80yCTI1giULcOgNlCCsLXMTDyPB/q8m4xOiiUtP5mNRp+e54y88mUjp1 GgeafggUWMtEHGVCVEEiPxSJpUfs18vNefUNLUJFUGsCfStuNItoTZMHlKc21/Ulveo2T/ 2nmF++SrnG4HvBmeSx8TdnOEvcGSXVl7/RzPI9+sRK6b9lA0WExWFUwMXv4J9oQnlcmpTb jcX3fvjAOxar3CzYx85uw7TneLXo/p0hTiJMstZ63i7x5NUXaBr6id/zND7OAV5erp8EPS 4AhLJBnFdYoIZuA7zUXGv77A607h4Go0wyU8j7RFCzTACk0RG1SATk8SYTgGVQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VwJ186DhWz13F7; Thu, 6 Jun 2024 21:50:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 456Loqnn058013; Thu, 6 Jun 2024 21:50:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 456Loqn1058010; Thu, 6 Jun 2024 21:50:52 GMT (envelope-from git) Date: Thu, 6 Jun 2024 21:50:52 GMT Message-Id: <202406062150.456Loqn1058010@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: c0c066f86dd1 - main - config: Remove redundant code List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c0c066f86dd19c4802812b3ae28b019ca4909c56 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=c0c066f86dd19c4802812b3ae28b019ca4909c56 commit c0c066f86dd19c4802812b3ae28b019ca4909c56 Author: Warner Losh AuthorDate: 2024-06-03 18:37:02 +0000 Commit: Warner Losh 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