diff options
| author | Michael Biebl <biebl@debian.org> | 2016-08-26 02:18:32 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2016-08-26 02:18:32 +0200 |
| commit | 7514efc2f38c9ace4557d4e69d68e7d380389030 (patch) | |
| tree | 7fb00fda86cfcc2ca377f191633a7cfdbfea7ca3 /src/main-utils.c | |
| parent | d6201f5d8daada3d64a0a3e0038e14eebec683ce (diff) | |
Imported Upstream version 1.4.0 upstream/1.4.0
Diffstat (limited to 'src/main-utils.c')
| -rw-r--r-- | src/main-utils.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main-utils.c b/src/main-utils.c index 86242802..c2ed9d1c 100644 --- a/src/main-utils.c +++ b/src/main-utils.c @@ -31,7 +31,6 @@ #include <glib/gstdio.h> #include <glib-unix.h> -#include <gmodule.h> #include "main-utils.h" #include "NetworkManagerUtils.h" @@ -243,6 +242,7 @@ nm_main_utils_early_setup (const char *progname, textdomain (GETTEXT_PACKAGE); for (i = 0; options[i].long_name; i++) { + NM_PRAGMA_WARNING_DISABLE("-Wformat-nonliteral") if (!strcmp (options[i].long_name, "log-level")) { opt_fmt_log_level = options[i].description; opt_loc_log_level = &options[i].description; @@ -252,6 +252,7 @@ nm_main_utils_early_setup (const char *progname, opt_loc_log_domains = &options[i].description; options[i].description = g_strdup_printf (options[i].description, nm_logging_all_domains_to_string ()); } + NM_PRAGMA_WARNING_REENABLE } /* Parse options */ |