You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by db...@apache.org on 2016/05/19 09:54:44 UTC

[8/9] cordova-ubuntu git commit: fix build issue with function signature missing the cordova variable name; also avoid a warning

fix build issue with function signature missing the cordova variable name; also avoid a warning


Project: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/commit/d6f921f7
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/tree/d6f921f7
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/diff/d6f921f7

Branch: refs/heads/master
Commit: d6f921f7fa178388cf4cb353f32d38b50bd5959d
Parents: bc919c1
Author: David Barth <da...@canonical.com>
Authored: Tue May 17 19:26:23 2016 +0200
Committer: David Barth <da...@canonical.com>
Committed: Tue May 17 19:26:23 2016 +0200

----------------------------------------------------------------------
 src/coreplugins.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/blob/d6f921f7/src/coreplugins.cpp
----------------------------------------------------------------------
diff --git a/src/coreplugins.cpp b/src/coreplugins.cpp
index 646eafe..ebae0f6 100644
--- a/src/coreplugins.cpp
+++ b/src/coreplugins.cpp
@@ -26,7 +26,8 @@ INSERT_HEADER_HERE
 
 extern "C" {
 
-Q_DECL_EXPORT QList<QSharedPointer<CPlugin>> cordovaGetPluginInstances(Cordova *) {
+Q_DECL_EXPORT QList<QSharedPointer<CPlugin>> cordovaGetPluginInstances(Cordova *cordova) {
+    Q_UNUSED(cordova);
     QList<QSharedPointer<CPlugin>> res;
 
     INSERT_PLUGIN_HERE


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org