From c16b6d31ed6e99e607b69c4d512f9ca9d5bd6e29 Mon Sep 17 00:00:00 2001 From: Hung-Weic Chiu Date: Wed, 10 May 2017 02:51:28 +0000 Subject: Address the error "Dead assignment" of static analysif - Refer to https://ci1.netdef.org/browse/FRR-FRR4-44/artifact/shared/static_analysis/index.html - Remove unused variable Signed-off-by: Hung-Weic Chiu --- bgpd/bgp_btoa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bgpd/bgp_btoa.c') diff --git a/bgpd/bgp_btoa.c b/bgpd/bgp_btoa.c index 37bef9b85..d3162a4ea 100644 --- a/bgpd/bgp_btoa.c +++ b/bgpd/bgp_btoa.c @@ -238,7 +238,7 @@ main (int argc, char **argv) printf ("len: %zd\n", len); - ret = fread (s->data + 12, len, 1, fp); + fread (s->data + 12, len, 1, fp); if (feof (fp)) { printf ("ENDOF FILE 2\n"); -- cgit v1.2.3