[vlc-commits] Kill warnings in nporuntime
Jean-Baptiste Kempf
git at videolan.org
Tue Jan 24 17:51:25 CET 2012
npapi-vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Jan 24 17:50:00 2012 +0100| [109bb759864530bd09358e4d1f5c6029c8a8bf4e] | committer: Jean-Baptiste Kempf
Kill warnings in nporuntime
> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=109bb759864530bd09358e4d1f5c6029c8a8bf4e
---
npapi/control/nporuntime.cpp | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/npapi/control/nporuntime.cpp b/npapi/control/nporuntime.cpp
index 9f1b2a7..81a9307 100644
--- a/npapi/control/nporuntime.cpp
+++ b/npapi/control/nporuntime.cpp
@@ -50,31 +50,31 @@ char* RuntimeNPObject::stringValue(const NPVariant &v)
return s;
}
-RuntimeNPObject::InvokeResult RuntimeNPObject::getProperty(int index, NPVariant &result)
+RuntimeNPObject::InvokeResult RuntimeNPObject::getProperty(int, NPVariant &)
{
/* default behaviour */
return INVOKERESULT_GENERIC_ERROR;
}
-RuntimeNPObject::InvokeResult RuntimeNPObject::setProperty(int index, const NPVariant &value)
+RuntimeNPObject::InvokeResult RuntimeNPObject::setProperty(int, const NPVariant &)
{
/* default behaviour */
return INVOKERESULT_GENERIC_ERROR;
}
-RuntimeNPObject::InvokeResult RuntimeNPObject::removeProperty(int index)
+RuntimeNPObject::InvokeResult RuntimeNPObject::removeProperty(int)
{
/* default behaviour */
return INVOKERESULT_GENERIC_ERROR;
}
-RuntimeNPObject::InvokeResult RuntimeNPObject::invoke(int index, const NPVariant *args, uint32_t argCount, NPVariant &result)
+RuntimeNPObject::InvokeResult RuntimeNPObject::invoke(int, const NPVariant *, uint32_t, NPVariant &)
{
/* default beahviour */
return INVOKERESULT_GENERIC_ERROR;
}
-RuntimeNPObject::InvokeResult RuntimeNPObject::invokeDefault(const NPVariant *args, uint32_t argCount, NPVariant &result)
+RuntimeNPObject::InvokeResult RuntimeNPObject::invokeDefault(const NPVariant *, uint32_t, NPVariant &result)
{
/* return void */
VOID_TO_NPVARIANT(result);
More information about the vlc-commits
mailing list