]> git.sesse.net Git - vlc/commitdiff
Kill warnings about unused variables. (jpeg?)
authorAntoine Cellerier <dionoea@videolan.org>
Sat, 27 Feb 2010 21:04:53 +0000 (22:04 +0100)
committerAntoine Cellerier <dionoea@videolan.org>
Sat, 27 Feb 2010 21:04:53 +0000 (22:04 +0100)
modules/misc/lua/libs/dialog.c

index 7a276f5b28103f7974364dc857aba2b49cb9f0a7..906e63e721d97517b0790db008f861105111b825 100644 (file)
@@ -291,8 +291,6 @@ static int vlclua_dialog_delete( lua_State *L )
 /** Show the dialog */
 static int vlclua_dialog_show( lua_State *L )
 {
-    vlc_object_t *p_mgr = vlclua_get_this( L );
-
     extension_dialog_t **pp_dlg =
             (extension_dialog_t**) luaL_checkudata( L, 1, "dialog" );
     if( !pp_dlg || !*pp_dlg )
@@ -308,8 +306,6 @@ static int vlclua_dialog_show( lua_State *L )
 /** Hide the dialog */
 static int vlclua_dialog_hide( lua_State *L )
 {
-    vlc_object_t *p_mgr = vlclua_get_this( L );
-
     extension_dialog_t **pp_dlg =
             (extension_dialog_t**) luaL_checkudata( L, 1, "dialog" );
     if( !pp_dlg || !*pp_dlg )