im.pidgin.pidgin: 067c06f2c33e5371796629696a9aad6afa4e9ead

markdoliner at pidgin.im markdoliner at pidgin.im
Tue Oct 9 03:40:43 EDT 2007


-----------------------------------------------------------------
Revision: 067c06f2c33e5371796629696a9aad6afa4e9ead
Ancestor: c8fe7b18f7d5a479e1de5001268c686e5426049d
Author: markdoliner at pidgin.im
Date: 2007-10-09T07:31:09
Branch: im.pidgin.pidgin

Modified files:
        pidgin/gtkblist.c

ChangeLog: 

Get rid of another unused variable.  Coverity CID 365.

-------------- next part --------------
============================================================
--- pidgin/gtkblist.c	02e5b0271d5808ce4057364ca6486fe086455f69
+++ pidgin/gtkblist.c	08888ea5655779f2d8b848a85989ae6a46e18ab8
@@ -4347,7 +4347,6 @@ create_connection_error_buttons(gpointer
                                 gpointer user_data)
 {
 	PurpleAccount *account;
-	PurpleStatusType *status_type;
 	gchar *escaped, *text;
 	GtkWidget *button, *label, *image, *hbox;
 	GdkPixbuf *pixbuf;
@@ -4362,8 +4361,8 @@ create_connection_error_buttons(gpointer
 	hbox = gtk_hbox_new(FALSE, 6);
 
 	/* Create the icon */
-	if ((status_type = purple_account_get_status_type_with_primitive(account,
-							PURPLE_STATUS_OFFLINE))) {
+	if (purple_account_get_status_type_with_primitive(account,
+							PURPLE_STATUS_OFFLINE) != NULL) {
 		pixbuf = pidgin_create_prpl_icon(account, PIDGIN_PRPL_ICON_SMALL);
 		if (pixbuf != NULL) {
 			image = gtk_image_new_from_pixbuf(pixbuf);


More information about the Commits mailing list