lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nwelln...@apache.org
Subject [lucy-commits] [4/7] git commit: refs/heads/install-c-library - Make charmonizer.c C89-compliant
Date Mon, 20 May 2013 17:49:18 GMT
Make charmonizer.c C89-compliant


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

Branch: refs/heads/install-c-library
Commit: 1b506fda56e05167c17896fba3f50d4c7b108d79
Parents: 424fd40
Author: Nick Wellnhofer <wellnhofer@aevum.de>
Authored: Mon May 20 18:33:00 2013 +0200
Committer: Nick Wellnhofer <wellnhofer@aevum.de>
Committed: Mon May 20 18:33:00 2013 +0200

----------------------------------------------------------------------
 charmonizer/src/Charmonizer/Core/ConfWriterC.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/1b506fda/charmonizer/src/Charmonizer/Core/ConfWriterC.c
----------------------------------------------------------------------
diff --git a/charmonizer/src/Charmonizer/Core/ConfWriterC.c b/charmonizer/src/Charmonizer/Core/ConfWriterC.c
index d50f779..1b0b7c4 100644
--- a/charmonizer/src/Charmonizer/Core/ConfWriterC.c
+++ b/charmonizer/src/Charmonizer/Core/ConfWriterC.c
@@ -281,10 +281,10 @@ chaz_ConfWriterC_end_module(void) {
                                                     defs[i].str2);
                 break;
             case CHAZ_CONFELEM_GLOBAL_TYPEDEF: {
-                ++num_globals;
                 char *sym = chaz_ConfWriterC_uppercase_string(defs[i].str1);
                 chaz_ConfWriterC_append_def_to_conf(sym, defs[i].str2);
                 free(sym);
+                ++num_globals;
             }
             /* fall through */
             case CHAZ_CONFELEM_TYPEDEF:


Mime
View raw message