[vlc-commits] npapi: zero unused members of NPClass

Sergey Radionov git at videolan.org
Thu Dec 1 22:23:33 CET 2011


npapi-vlc | branch: master | Sergey Radionov <RSATom at gmail.com> | Thu Dec  1 17:18:16 2011 +0700| [f7160baabede71ea1242b36d56d46cac8da92b8f] | committer: Jean-Baptiste Kempf

npapi: zero unused members of NPClass

fix #3880

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 npapi/control/nporuntime.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/npapi/control/nporuntime.h b/npapi/control/nporuntime.h
index 799111a..0e294f7 100644
--- a/npapi/control/nporuntime.h
+++ b/npapi/control/nporuntime.h
@@ -335,6 +335,8 @@ RuntimeNPClass<T>::RuntimeNPClass()
     getProperty    = &RuntimeNPClassGetProperty<T>;
     setProperty    = &RuntimeNPClassSetProperty<T>;
     removeProperty = &RuntimeNPClassRemoveProperty<T>;
+    enumerate      = 0;
+    construct      = 0;
 }
 
 template<class T>



More information about the vlc-commits mailing list