diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-08-09 10:34:38 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-09 10:34:38 +0300 |
| commit | e885e97d8723ec2931bb3d23f2ade32810e5a1c2 (patch) | |
| tree | 0121b6416b7567d8e8c18cd5538f1414cbd52dcd /lib/frrlua.c | |
| parent | 2570a9f16531ff1307cd6bcda2250ace49b1cf76 (diff) | |
| parent | 4b0d12679416b52ff4296a41b8acb813569f8b5a (diff) | |
Merge pull request #9325 from anlancs/fix-lib-warning
lib: Fix coverity warning of return value
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); |
