/pidgin/main: d13ff446f400: Fix a warning

Tomasz Wasilczyk twasilczyk at pidgin.im
Wed Apr 30 05:56:40 EDT 2014


Changeset: d13ff446f4001c1a852e4eb55f2b17850d183731
Author:	 Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date:	 2014-04-30 11:56 +0200
Branch:	 release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/d13ff446f400

Description:

Fix a warning

diffstat:

 libpurple/account.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (14 lines):

diff --git a/libpurple/account.c b/libpurple/account.c
--- a/libpurple/account.c
+++ b/libpurple/account.c
@@ -917,8 +917,9 @@ parse_account(xmlnode *node)
 	if (child != NULL) {
 		const char *keyring_id = xmlnode_get_attrib(child, "keyring_id");
 		const char *mode = xmlnode_get_attrib(child, "mode");
+		gboolean is_plaintext;
+
 		data = xmlnode_get_data(child);
-		gboolean is_plaintext;
 
 		if (keyring_id == NULL || keyring_id[0] == '\0')
 			is_plaintext = TRUE;



More information about the Commits mailing list