]> git.puffer.fish Git - matthieu/frr.git/commitdiff
ripd: Intentionally ignore return from rip_send_packet
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 1 Jun 2018 00:45:49 +0000 (20:45 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 5 Jun 2018 14:42:05 +0000 (10:42 -0400)
Coverity SA has noticed that we are not ignoring the return
codes from rip_send_packet in one case.  Since we do not care
let the system know we don't.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
ripd/ripd.c

index ecc40270084f2ab996fa5872cb51241c2be26a27..92c27106d583be85b09f9ba645e354e5b9408026 100644 (file)
@@ -1641,7 +1641,7 @@ static void rip_request_process(struct rip_packet *packet, int size,
                }
                packet->command = RIP_RESPONSE;
 
-               rip_send_packet((uint8_t *)packet, size, from, ifc);
+               (void)rip_send_packet((uint8_t *)packet, size, from, ifc);
        }
        rip_global_queries++;
 }