From afcd268ea7b1149fbfb66bce4eca659b675da0a2 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Tue, 12 Dec 2017 15:53:07 +0100 Subject: New upstream version 1.10.2 --- clients/cli/settings.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'clients/cli/settings.c') 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 -- cgit 1.3.0-6-gf8a5