Skip to content

Commit f0c546f

Browse files
committed
Avoid “unused return value” warning in configureLuaPaths.
1 parent 91369e6 commit f0c546f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/script.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ void configureLuaPaths(lua_State *lua, gchar * script_folder)
6868
gchar buff[maxlen];
6969
if ( maxlen >= g_snprintf(buff, maxlen, PACKAGE_CMD, file, mod) )
7070
{
71-
luaL_dostring(lua, buff );
71+
(void)luaL_dostring(lua, buff);
7272
}
7373
g_free(file);
7474
g_free(mod);

0 commit comments

Comments
 (0)