gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r10688: Fix unused variable warning


From: Sandro Santilli
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r10688: Fix unused variable warning
Date: Tue, 10 Mar 2009 18:06:17 +0100
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 10688
committer: Sandro Santilli <address@hidden>
branch nick: trunk
timestamp: Tue 2009-03-10 18:06:17 +0100
message:
  Fix unused variable warning
modified:
  plugin/plugin.cpp
=== modified file 'plugin/plugin.cpp'
--- a/plugin/plugin.cpp 2009-03-10 16:34:21 +0000
+++ b/plugin/plugin.cpp 2009-03-10 17:06:17 +0000
@@ -192,7 +192,6 @@
 
     NPError err = NPERR_NO_ERROR;
     PRBool supportsXEmbed = PR_TRUE;
-    NPNToolkitType toolkit;
 
     /* 
     First, check for XEmbed support. The NPAPI Gnash plugin
@@ -221,6 +220,7 @@
     }
 
 #if 0 // Gtk is no longer required in the browser
+    NPNToolkitType toolkit;
     err = CallNPN_GetValueProc(NPNFuncs.getvalue, NULL,
                 NPNVToolkit,
                 (void *)&toolkit);


reply via email to

[Prev in Thread] Current Thread [Next in Thread]