changeset 10840:a9d989c84609

[gaim-migrate @ 12512] sf patch #1185438, from Richard Laager "Someone #if 0'ed code. I get warnings now. This fixes the warnings. (Yes, the comment change is legitimate. The compiler was warning because the comment is unclosed.)" committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 19 Apr 2005 03:16:43 +0000
parents 7a3d8d498f45
children 9c4dca2deb99
files src/connection.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/connection.c	Tue Apr 19 03:12:44 2005 +0000
+++ b/src/connection.c	Tue Apr 19 03:16:43 2005 +0000
@@ -150,7 +150,9 @@
 gaim_connection_destroy(GaimConnection *gc)
 {
 	GaimAccount *account;
+#if 0
 	GList *wins;
+#endif
 	GaimPresence *presence = NULL;
 	GaimPluginProtocolInfo *prpl_info = NULL;
 
@@ -200,7 +202,7 @@
 		gaim_presence_set_status_active(presence, "offline", TRUE);
 
 #if 0
-/* see comment later in file on if 0'd same code	
+	/* see comment later in file on if 0'd same code */
 	/*
 	 * XXX This is a hack! Remove this and replace it with a better event
 	 *     notification system.
@@ -264,7 +266,9 @@
 
 	if (gc->state == GAIM_CONNECTED) {
 		GaimBlistNode *gnode,*cnode,*bnode;
+#if 0
 		GList *wins;
+#endif
 		GList *add_buds = NULL;
 		GaimAccount *account;
 		GaimPresence *presence;