diff mbox

example:odp_l3fwd_db explicitly ignore return

Message ID 1479497587-20559-1-git-send-email-mike.holmes@linaro.org
State New
Headers show

Commit Message

Mike Holmes Nov. 18, 2016, 7:33 p.m. UTC
clean up static analysis warning

Signed-off-by: Mike Holmes <mike.holmes@linaro.org>

---
 example/l3fwd/odp_l3fwd_db.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.7.4
diff mbox

Patch

diff --git a/example/l3fwd/odp_l3fwd_db.c b/example/l3fwd/odp_l3fwd_db.c
index 082b2c2..a8c2ca8 100644
--- a/example/l3fwd/odp_l3fwd_db.c
+++ b/example/l3fwd/odp_l3fwd_db.c
@@ -394,7 +394,7 @@  int create_fwd_db_entry(char *input, char **oif, uint8_t **dst_mac)
 			*oif = entry->oif;
 			break;
 		case 2:
-			odph_eth_addr_parse(&entry->dst_mac, token);
+			(void)odph_eth_addr_parse(&entry->dst_mac, token);
 			*dst_mac = entry->dst_mac.addr;
 			break;