lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject lucy git commit: Quiet warnings for debugging vars.
Date Wed, 16 Mar 2016 00:45:35 GMT
Repository: lucy
Updated Branches:
  refs/heads/master ee5cebea4 -> 7805188df


Quiet warnings for debugging vars.

Unless DEBUG is set, a few variables look like they are unused to the
compiler -- so tell it otherwise.


Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/7805188d
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/7805188d
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/7805188d

Branch: refs/heads/master
Commit: 7805188df7a812382b484b68223f49964a8aaa39
Parents: ee5cebe
Author: Marvin Humphrey <marvin@rectangular.com>
Authored: Wed Mar 16 00:40:25 2016 +0000
Committer: Marvin Humphrey <marvin@rectangular.com>
Committed: Wed Mar 16 00:40:25 2016 +0000

----------------------------------------------------------------------
 perl/buildlib/Lucy/Build/Binding/Util.pm | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/7805188d/perl/buildlib/Lucy/Build/Binding/Util.pm
----------------------------------------------------------------------
diff --git a/perl/buildlib/Lucy/Build/Binding/Util.pm b/perl/buildlib/Lucy/Build/Binding/Util.pm
index 3370745..89a80e8 100644
--- a/perl/buildlib/Lucy/Build/Binding/Util.pm
+++ b/perl/buildlib/Lucy/Build/Binding/Util.pm
@@ -37,12 +37,14 @@ void
 DEBUG_PRINT(message)
     char *message;
 PPCODE:
+    CFISH_UNUSED_VAR(message);
     LUCY_DEBUG_PRINT("%s", message);
 
 void
 DEBUG(message)
     char *message;
 PPCODE:
+    CFISH_UNUSED_VAR(message);
     LUCY_DEBUG("%s", message);
 
 bool
@@ -77,6 +79,7 @@ void
 ASSERT(maybe)
     int maybe;
 PPCODE:
+    CFISH_UNUSED_VAR(maybe);
     LUCY_ASSERT(maybe, "XS ASSERT binding test");
 
 IV


Mime
View raw message