Skip to content

Commit

Permalink
* mu: fix compilation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
djcb committed Feb 15, 2014
1 parent 411cea8 commit 60e863b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mu/Makefile.am
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion mu/mu-config.c
Expand Up @@ -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},
Expand Down

0 comments on commit 60e863b

Please sign in to comment.