git: 7a60e798fb4c - main - rrenumd: remove a set-but-not-used variable
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 20 Apr 2022 15:02:40 UTC
The branch main has been updated by se: URL: https://cgit.FreeBSD.org/src/commit/?id=7a60e798fb4cff28cc5eab3d622168a3093fa80a commit 7a60e798fb4cff28cc5eab3d622168a3093fa80a Author: Stefan Eßer <se@FreeBSD.org> AuthorDate: 2022-04-20 15:02:24 +0000 Commit: Stefan Eßer <se@FreeBSD.org> CommitDate: 2022-04-20 15:02:24 +0000 rrenumd: remove a set-but-not-used variable --- usr.sbin/rrenumd/parser.y | 2 -- 1 file changed, 2 deletions(-) diff --git a/usr.sbin/rrenumd/parser.y b/usr.sbin/rrenumd/parser.y index 43d08634d439..c75dde23df3d 100644 --- a/usr.sbin/rrenumd/parser.y +++ b/usr.sbin/rrenumd/parser.y @@ -335,10 +335,8 @@ rrenum_statement: match_prefix_definition: rrenum_cmd MATCH_PREFIX_CMD prefixval maxlen minlen { - struct icmp6_router_renum *irr; struct rr_pco_match *rpm; - irr = &ple_cur.pl_irr; rpm = &ple_cur.pl_rpm; memset(rpm, 0, sizeof(*rpm));