diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-02-24 08:36:09 -0500 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-02-27 09:41:58 -0500 | 
| commit | 2acf1ad1dd3d9d138a0c24bff55918efb8e953eb (patch) | |
| tree | 50c66231fead2b95256421b0c67f45b64c61a462 /zebra/ipforward_proc.c | |
| parent | f67de3ee72622061160fde4fa794e2bf0e95d3af (diff) | |
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 226f722937..4bd160ddbc 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')  		;  }  | 
