lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject svn commit: r885911 - /lucene/lucy/trunk/charmonizer/src/Charmonizer/Core/Compiler.c
Date Tue, 01 Dec 2009 20:26:56 GMT
Author: marvin
Date: Tue Dec  1 20:26:56 2009
New Revision: 885911

URL: http://svn.apache.org/viewvc?rev=885911&view=rev
Log:
Kill off some "unused variable" compiler warnings.

Modified:
    lucene/lucy/trunk/charmonizer/src/Charmonizer/Core/Compiler.c

Modified: lucene/lucy/trunk/charmonizer/src/Charmonizer/Core/Compiler.c
URL: http://svn.apache.org/viewvc/lucene/lucy/trunk/charmonizer/src/Charmonizer/Core/Compiler.c?rev=885911&r1=885910&r2=885911&view=diff
==============================================================================
--- lucene/lucy/trunk/charmonizer/src/Charmonizer/Core/Compiler.c (original)
+++ lucene/lucy/trunk/charmonizer/src/Charmonizer/Core/Compiler.c Tue Dec  1 20:26:56 2009
@@ -118,6 +118,7 @@
                                + 200;
     char *command = malloc(command_max_size);
     chaz_bool_t result;
+    (void)code_len; /* Unused. */
     
     /* Prepare the compiler command. */
     if (Util_verbosity < 2 && chaz_ModHand_charm_run_available) {
@@ -168,6 +169,7 @@
                                + 200;
     char *command = malloc(command_max_size);
     chaz_bool_t result;
+    (void)code_len; /* Unused. */
     
     /* Prepare the compiler command. */
     if (Util_verbosity < 2 && chaz_ModHand_charm_run_available) {



Mime
View raw message