summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/common/plugin.c2
-rw-r--r--src/common/proto-irc.c6
-rw-r--r--src/common/text.c2
-rw-r--r--src/fe-gtk/joind.c1
4 files changed, 1 insertions, 10 deletions
diff --git a/src/common/plugin.c b/src/common/plugin.c
index bdb11bb8..1cc393ea 100644
--- a/src/common/plugin.c
+++ b/src/common/plugin.c
@@ -1557,7 +1557,7 @@ hexchat_list_int (hexchat_plugin *ph, hexchat_list *xlist, const char *name)
 		case 0x5cfee87:	/* flags */
 			/* used if text_strip is unset */                    /* 16 */
 			tmp <<= 1;
-			tmp = ((struct session *)data)->text_strip;          /* 15 */
+			tmp |= ((struct session *)data)->text_strip;          /* 15 */
 			tmp <<= 1;
 			/* used if text_scrollback is unset */               /* 14 */
 			tmp <<= 1;
diff --git a/src/common/proto-irc.c b/src/common/proto-irc.c
index f6b7cd9f..cdab4c21 100644
--- a/src/common/proto-irc.c
+++ b/src/common/proto-irc.c
@@ -816,10 +816,7 @@ process_numeric (session * sess, int n,
 	case 349:	/* end of exemption list */
 		sess = find_channel (serv, word[4]);
 		if (!sess)
-		{
-			sess = serv->front_session;
 			goto def;
-		}
 		if (!fe_ban_list_end (sess, 349))
 			goto def;
 		break;
@@ -844,10 +841,7 @@ process_numeric (session * sess, int n,
 	case 368:
 		sess = find_channel (serv, word[4]);
 		if (!sess)
-		{
-			sess = serv->front_session;
 			goto def;
-		}
 		if (!fe_ban_list_end (sess, 368))
 			goto def;
 		break;
diff --git a/src/common/text.c b/src/common/text.c
index 0bee65be..729f18dd 100644
--- a/src/common/text.c
+++ b/src/common/text.c
@@ -1897,7 +1897,6 @@ pevt_build_string (const char *input, char **output, int *max_arg)
 		if (d == 'a')
 		{
 			/* Hex value */
-			x = 0;
 			if (ii == len)
 				goto a_len_error;
 			d = i[ii++];
@@ -1986,7 +1985,6 @@ pevt_build_string (const char *input, char **output, int *max_arg)
 		base = s;
 	if (last != NULL)
 		last->next = s;
-	last = s;
 	s->next = NULL;
 	s->data = g_malloc (1);
 	s->len = 1;
diff --git a/src/fe-gtk/joind.c b/src/fe-gtk/joind.c
index 6ffc1ee8..c1a5cb36 100644
--- a/src/fe-gtk/joind.c
+++ b/src/fe-gtk/joind.c
@@ -210,7 +210,6 @@ joind_show_dialog (server *serv)
 	gtk_widget_show (radiobutton3);
 	gtk_box_pack_start (GTK_BOX (vbox2), radiobutton3, FALSE, FALSE, 0);
 	gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton3), radiobutton1_group);
-	radiobutton1_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton3));
 
 	g_snprintf (buf, sizeof (buf), "<small>     %s</small>",
 				 _("Retrieving the Channel-List may take a minute or two."));