* mu: fix compilation warning

This commit is contained in:
djcb 2014-02-15 11:49:57 +02:00
parent 411cea83f4
commit 60e863b562
2 changed files with 3 additions and 2 deletions

View File

@ -26,7 +26,7 @@ AM_CPPFLAGS=-I${top_srcdir}/lib $(GLIB_CFLAGS)
# use -Wno-unused-parameters, because some callbacks may not
# really need all the params they get
AM_CFLAGS=-Wall -Wextra -Wno-unused-parameter -Wdeclaration-after-statement \
-pedantic -Wno-variadic-macros \
-Wno-variadic-macros \
-DMU_SCRIPTS_DIR="\"$(pkgdatadir)/scripts/\""
AM_CXXFLAGS=-Wall -Wextra -Wno-unused-parameter

View File

@ -110,7 +110,8 @@ config_options_group_mu (void)
"specify an alternative mu directory", "<dir>"},
{"log-stderr", 0, 0, G_OPTION_ARG_NONE, &MU_CONFIG.log_stderr,
"log to standard error (false)", NULL},
{"color", 0, 0, G_OPTION_ARG_CALLBACK, &config_options_set_color,
{"color", 0, 0, G_OPTION_ARG_CALLBACK,
(gpointer)&config_options_set_color,
"colorize output (never|auto|always)", "<mode>"},
{"verbose", 'v', 0, G_OPTION_ARG_NONE, &MU_CONFIG.verbose,
"verbose output (false)", NULL},