diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-02-24 14:36:09 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-02-27 15:41:58 +0100 |
commit | 2acf1ad1dd3d9d138a0c24bff55918efb8e953eb (patch) | |
tree | 50c66231fead2b95256421b0c67f45b64c61a462 /zebra/ipforward_proc.c | |
parent | ldpd: Cleanup set but unused variables (diff) | |
download | frr-2acf1ad1dd3d9d138a0c24bff55918efb8e953eb.tar.xz frr-2acf1ad1dd3d9d138a0c24bff55918efb8e953eb.zip |
zebra: Cleanup set but unused variables
There existed some variables set but never used. Clean this up.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/ipforward_proc.c')
-rw-r--r-- | zebra/ipforward_proc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/zebra/ipforward_proc.c b/zebra/ipforward_proc.c index 226f72293..4bd160ddb 100644 --- a/zebra/ipforward_proc.c +++ b/zebra/ipforward_proc.c @@ -34,9 +34,7 @@ static const char proc_net_snmp[] = "/proc/net/snmp"; static void dropline(FILE *fp) { - int c; - - while ((c = getc(fp)) != '\n') + while (getc(fp) != '\n') ; } |