[network-manager-openconnect] auth-dialog: mark write_progress() with format attribute
- From: Thomas Haller <thaller src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-openconnect] auth-dialog: mark write_progress() with format attribute
- Date: Mon, 19 Sep 2016 08:55:03 +0000 (UTC)
commit 89a4fc5b0da9d83db450cf3be995c6fe81757d75
Author: Thomas Haller <thaller redhat com>
Date: Mon Sep 19 10:47:59 2016 +0200
auth-dialog: mark write_progress() with format attribute
Required to call g_strdup_vprintf() on fmt without format
warning from the compiler.
auth-dialog/main.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/auth-dialog/main.c b/auth-dialog/main.c
index 277e805..a6ebe34 100644
--- a/auth-dialog/main.c
+++ b/auth-dialog/main.c
@@ -1160,6 +1160,7 @@ static gboolean write_notice_real(char *message)
}
/* runs in worker thread */
+ _nm_printf (3, 4)
static void write_progress(void *cbdata, int level, const char *fmt, ...)
{
va_list args;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]