New Defects reported by Coverity Scan for freerangerouting/frr
Hi, Please find the latest report on new defect(s) introduced to freerangerouting/frr found with Coverity Scan. 1 new defect(s) introduced to freerangerouting/frr found with Coverity Scan. 1 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan. New defect(s) Reported-by: Coverity Scan Showing 1 of 1 defect(s) ** CID 1474171: Incorrect expression (USELESS_CALL) ________________________________________________________________________________________________________ *** CID 1474171: Incorrect expression (USELESS_CALL) /bgpd/bgp_mpath.c: 613 in bgp_path_info_mpath_update() 607 assert(new_mpath); 608 assert(prev_mpath); 609 if ((mpath_count < maxpaths) && (new_mpath != new_best) 610 && bgp_path_info_nexthop_cmp(prev_mpath, 611 new_mpath)) { 612 if (new_mpath == next_mpath)
CID 1474171: Incorrect expression (USELESS_CALL) Calling "bgp_path_info_mpath_next(new_mpath)" is only useful for its return value, which is ignored.
613 bgp_path_info_mpath_next(new_mpath); 614 bgp_path_info_mpath_dequeue(new_mpath); 615 616 bgp_path_info_mpath_enqueue(prev_mpath, 617 new_mpath); 618 prev_mpath = new_mpath;
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05...
participants (1)
-
scan-admin@coverity.com