You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by nw...@apache.org on 2016/07/06 10:10:21 UTC

[9/9] lucy-charmonizer git commit: Fix compiler warnings

Fix compiler warnings


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

Branch: refs/heads/master
Commit: 58cdc20d5c1d51c41fd45454b76b8601c8a7b52f
Parents: abd2eeb
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Tue Jul 5 16:24:59 2016 +0200
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Tue Jul 5 16:24:59 2016 +0200

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


http://git-wip-us.apache.org/repos/asf/lucy-charmonizer/blob/58cdc20d/src/Charmonizer/Core/CLI.c
----------------------------------------------------------------------
diff --git a/src/Charmonizer/Core/CLI.c b/src/Charmonizer/Core/CLI.c
index b4ff266..638c28b 100644
--- a/src/Charmonizer/Core/CLI.c
+++ b/src/Charmonizer/Core/CLI.c
@@ -42,6 +42,7 @@ struct chaz_CLI {
 static void
 S_chaz_CLI_error(chaz_CLI *self, const char *pattern, ...) {
     va_list ap;
+    (void)self;
     if (chaz_Util_verbosity > 0) {
         va_start(ap, pattern);
         vfprintf(stderr, pattern, ap);

http://git-wip-us.apache.org/repos/asf/lucy-charmonizer/blob/58cdc20d/src/Charmonizer/Core/ConfWriterC.c
----------------------------------------------------------------------
diff --git a/src/Charmonizer/Core/ConfWriterC.c b/src/Charmonizer/Core/ConfWriterC.c
index 0a9c20d..e5f67ce 100644
--- a/src/Charmonizer/Core/ConfWriterC.c
+++ b/src/Charmonizer/Core/ConfWriterC.c
@@ -48,7 +48,7 @@ static struct {
     chaz_ConfElem *defs;
     size_t         def_cap;
     size_t         def_count;
-} chaz_ConfWriterC = { NULL, NULL, 0, 0 };
+} chaz_ConfWriterC = { NULL, NULL, NULL, 0, 0 };
 static chaz_ConfWriter CWC_conf_writer;
 
 /* Open the charmony.h file handle.  Print supplied text to it, if non-null.