[vlc-commits] Remove unused progid embed tag attribute

Cheng Sun git at videolan.org
Thu Jan 5 21:28:03 CET 2012


npapi-vlc | branch: master | Cheng Sun <chengsun9 at gmail.com> | Thu Jan  5 18:39:37 2012 +0000| [c2f75bf4d2cf2acee1f1aad9cd1169d82607a702] | committer: Cheng Sun

Remove unused progid embed tag attribute

> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=c2f75bf4d2cf2acee1f1aad9cd1169d82607a702
---

 npapi/vlcplugin_base.cpp |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/npapi/vlcplugin_base.cpp b/npapi/vlcplugin_base.cpp
index d7ec060..30397c7 100644
--- a/npapi/vlcplugin_base.cpp
+++ b/npapi/vlcplugin_base.cpp
@@ -442,8 +442,6 @@ NPError VlcPluginBase::init(int argc, char* const argn[], char* const argv[])
     ppsz_argv[ppsz_argc++] = "--no-video-title-show";
     ppsz_argv[ppsz_argc++] = "--no-xlib";
 
-    const char *progid = NULL;
-
     /* parse plugin arguments */
     for( int i = 0; (i < argc) && (ppsz_argc < 32); i++ )
     {
@@ -496,11 +494,6 @@ NPError VlcPluginBase::init(int argc, char* const argn[], char* const argv[])
                 ppsz_argv[ppsz_argc++] = "--no-loop";
             }
         }
-        else if( !strcmp( argn[i], "version")
-              || !strcmp( argn[i], "progid") )
-        {
-            progid = argv[i];
-        }
         else if( !strcmp( argn[i], "toolbar" ) )
         {
             b_toolbar = boolValue(argv[i]);



More information about the vlc-commits mailing list