Commit 58a5a56e authored by Pierre Ynard's avatar Pierre Ynard

lua: remove tautology

parent 70940f34
......@@ -259,7 +259,7 @@ int __vlclua_var_toggle_or_set( lua_State *L, vlc_object_t *p_obj,
b_bool = !var_GetBool( p_obj, psz_name );
else /* lua_gettop( L ) == 1 */
{
b_bool = luaL_checkboolean( L, -1 )?true:false;
b_bool = luaL_checkboolean( L, -1 );
lua_pop( L, 1 );
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment