diff options
author | Hung-Weic Chiu <sppsorrg@gmail.com> | 2017-05-10 04:51:28 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@users.noreply.github.com> | 2017-05-10 22:02:48 +0200 |
commit | c16b6d31ed6e99e607b69c4d512f9ca9d5bd6e29 (patch) | |
tree | 6e8e615e7db34be64d4c2bd1cbcf21aca587a13a /bgpd/bgp_btoa.c | |
parent | - Solve the Coverity Scan PW.ASSIGN_WHERE_COMPARE_MEANT (diff) | |
download | frr-c16b6d31ed6e99e607b69c4d512f9ca9d5bd6e29.tar.xz frr-c16b6d31ed6e99e607b69c4d512f9ca9d5bd6e29.zip |
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 <sppsorrg@gmail.com>
Diffstat (limited to 'bgpd/bgp_btoa.c')
-rw-r--r-- | bgpd/bgp_btoa.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |