Two new coverity issues from inclusion of new lua code.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
"Script name (same as filename in /etc/frr/scripts/\n")
{
struct prefix p;
- str2prefix("1.2.3.4/24", &p);
+
+ (void)str2prefix("1.2.3.4/24", &p);
struct frrscript *fs = frrscript_load(argv[1]->arg, NULL);
struct prefix *p = XCALLOC(MTYPE_TMP, sizeof(struct prefix));
lua_getfield(L, idx, "network");
- str2prefix(lua_tostring(L, -1), p);
+ (void)str2prefix(lua_tostring(L, -1), p);
lua_pop(L, 1);
return p;