mirror of https://github.com/djcb/mu.git
* mu: fix compilation warning
This commit is contained in:
parent
411cea83f4
commit
60e863b562
|
@ -26,7 +26,7 @@ AM_CPPFLAGS=-I${top_srcdir}/lib $(GLIB_CFLAGS)
|
||||||
# use -Wno-unused-parameters, because some callbacks may not
|
# use -Wno-unused-parameters, because some callbacks may not
|
||||||
# really need all the params they get
|
# really need all the params they get
|
||||||
AM_CFLAGS=-Wall -Wextra -Wno-unused-parameter -Wdeclaration-after-statement \
|
AM_CFLAGS=-Wall -Wextra -Wno-unused-parameter -Wdeclaration-after-statement \
|
||||||
-pedantic -Wno-variadic-macros \
|
-Wno-variadic-macros \
|
||||||
-DMU_SCRIPTS_DIR="\"$(pkgdatadir)/scripts/\""
|
-DMU_SCRIPTS_DIR="\"$(pkgdatadir)/scripts/\""
|
||||||
AM_CXXFLAGS=-Wall -Wextra -Wno-unused-parameter
|
AM_CXXFLAGS=-Wall -Wextra -Wno-unused-parameter
|
||||||
|
|
||||||
|
|
|
@ -110,7 +110,8 @@ config_options_group_mu (void)
|
||||||
"specify an alternative mu directory", "<dir>"},
|
"specify an alternative mu directory", "<dir>"},
|
||||||
{"log-stderr", 0, 0, G_OPTION_ARG_NONE, &MU_CONFIG.log_stderr,
|
{"log-stderr", 0, 0, G_OPTION_ARG_NONE, &MU_CONFIG.log_stderr,
|
||||||
"log to standard error (false)", NULL},
|
"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>"},
|
"colorize output (never|auto|always)", "<mode>"},
|
||||||
{"verbose", 'v', 0, G_OPTION_ARG_NONE, &MU_CONFIG.verbose,
|
{"verbose", 'v', 0, G_OPTION_ARG_NONE, &MU_CONFIG.verbose,
|
||||||
"verbose output (false)", NULL},
|
"verbose output (false)", NULL},
|
||||||
|
|
Loading…
Reference in New Issue