diff options
| author | Michael Biebl <biebl@debian.org> | 2017-12-12 15:53:07 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2017-12-12 15:53:07 +0100 |
| commit | afcd268ea7b1149fbfb66bce4eca659b675da0a2 (patch) | |
| tree | c3fca2203ad17434daf3ccf576582bd66aa41ab2 /clients/cli/settings.c | |
| parent | 417f6015c3dc8c47cf27daa59f64e0e36c521b9c (diff) | |
New upstream version 1.10.2 upstream/1.10.2
Diffstat (limited to 'clients/cli/settings.c')
| -rw-r--r-- | clients/cli/settings.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clients/cli/settings.c b/clients/cli/settings.c index e0db1b5b..69275aad 100644 --- a/clients/cli/settings.c +++ b/clients/cli/settings.c @@ -371,8 +371,12 @@ _env_warn_fcn_handle (const NMMetaEnvironment *environment, const char *fmt_l10n, /* the untranslated format string, but it is marked for translation using N_(). */ va_list ap) { + NmCli *nmc = environment_user_data; gs_free char *m = NULL; + if (nmc->complete) + return; + NM_PRAGMA_WARNING_DISABLE("-Wformat-nonliteral") m = g_strdup_vprintf (_(fmt_l10n), ap); NM_PRAGMA_WARNING_REENABLE |