lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject svn commit: r464760 - /lucene/lucy/trunk/charmonizer/src/Charmonizer/Integers.charm
Date Tue, 17 Oct 2006 00:51:23 GMT
Author: marvin
Date: Mon Oct 16 17:51:22 2006
New Revision: 464760

URL: http://svn.apache.org/viewvc?view=rev&rev=464760
Log:
Fix a couple declaration-before-initialization errors.

Modified:
    lucene/lucy/trunk/charmonizer/src/Charmonizer/Integers.charm

Modified: lucene/lucy/trunk/charmonizer/src/Charmonizer/Integers.charm
URL: http://svn.apache.org/viewvc/lucene/lucy/trunk/charmonizer/src/Charmonizer/Integers.charm?view=diff&rev=464760&r1=464759&r2=464760
==============================================================================
--- lucene/lucy/trunk/charmonizer/src/Charmonizer/Integers.charm (original)
+++ lucene/lucy/trunk/charmonizer/src/Charmonizer/Integers.charm Mon Oct 16 17:51:22 2006
@@ -142,8 +142,8 @@
         );
     }
     if (sizeof_int == 4 || sizeof_long == 4) {
-        has_32 = true;
         char *type = sizeof_int == 4 ? "int" : "long";
+        has_32 = true;
         fprintf(conf_fh,
             "typedef %s %si32_t;\n"
             "typedef unsigned %s %su32_t;\n",
@@ -152,8 +152,8 @@
         );
     }
     if (sizeof_long == 8 || sizeof_long_long == 8) {
-        has_64 = true;
         char *type = sizeof_long == 8 ? "long" : "long long";
+        has_64 = true;
         fprintf(conf_fh,
             "typedef %s %si64_t;\n"
             "typedef unsigned %s %su64_t;\n",



Mime
View raw message