From 797ee67767c33e916275fd70a6455cad5db2d4df Mon Sep 17 00:00:00 2001 From: Ben Date: Mon, 5 Apr 2010 19:38:16 +0000 Subject: [PATCH] Warning fix. --- threquest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/threquest.c b/threquest.c index ea52f65..b962501 100644 --- a/threquest.c +++ b/threquest.c @@ -83,7 +83,7 @@ thrasher_request_action(const char *title, PurpleRequestActionCb default_cb = NULL; int i; for (i = 0; i < action_count; ) { - va_arg(actions, char*); /* throw away label */ + char* label = va_arg(actions, char*); /* throw away label */ PurpleRequestActionCb cb = va_arg(actions, PurpleRequestActionCb); if (i == default_action) { default_cb = cb; -- 2.11.4.GIT