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 /ripd | |
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 'ripd')
-rw-r--r-- | ripd/ripd.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ripd/ripd.c b/ripd/ripd.c index e9e83a1c7..4a42aff78 100644 --- a/ripd/ripd.c +++ b/ripd/ripd.c @@ -2398,7 +2398,6 @@ rip_output_process (struct connected *ifc, struct sockaddr_in *to, if (ret >= 0 && IS_RIP_DEBUG_SEND) rip_packet_dump ((struct rip_packet *)STREAM_DATA (s), stream_get_endp (s), "SEND"); - num = 0; stream_reset (s); } |