diff options
| author | anlan_cs <anlan_cs@tom.com> | 2021-08-07 21:34:29 -0400 | 
|---|---|---|
| committer | anlan_cs <anlan_cs@tom.com> | 2021-08-07 21:57:55 -0400 | 
| commit | 4b0d12679416b52ff4296a41b8acb813569f8b5a (patch) | |
| tree | 5eef3a4cd2c2bfccd1571d75ed0dd79cb6bc9938 /lib/frrlua.c | |
| parent | 2e062fff45ecdd1805140176dc1aa480ff1481f2 (diff) | |
lib: Fix coverity warning of return value
Suppress coverity warning on unchecked str2sockunion's return value.
Signed-off-by: anlan_cs <anlan_cs@tom.com>
Diffstat (limited to 'lib/frrlua.c')
| -rw-r--r-- | lib/frrlua.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/frrlua.c b/lib/frrlua.c index 96d7269440..928780f2d4 100644 --- a/lib/frrlua.c +++ b/lib/frrlua.c @@ -240,7 +240,7 @@ void lua_pushsockunion(lua_State *L, const union sockunion *su)  void lua_decode_sockunion(lua_State *L, int idx, union sockunion *su)  {  	lua_getfield(L, idx, "string"); -	str2sockunion(lua_tostring(L, -1), su); +	(void)str2sockunion(lua_tostring(L, -1), su);  	lua_pop(L, 1);  	/* pop the table */  	lua_pop(L, 1);  | 
