summary refs log tree commit diff stats
path: root/src/common/plugin.c
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2013-11-22 16:53:50 -0500
committerTingPing <tingping@tingping.se>2013-11-22 16:53:50 -0500
commit5c223ec5d55d82ab8dd1fc81c7cea5caf36ade45 (patch)
tree10ffeff11948dc3ae3715f32dde9cdb478ea0f76 /src/common/plugin.c
parenta656cee382c10695805a237a44bde97184537656 (diff)
Fix more warnings
Diffstat (limited to 'src/common/plugin.c')
-rw-r--r--src/common/plugin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/plugin.c b/src/common/plugin.c
index 228983f3..45746777 100644
--- a/src/common/plugin.c
+++ b/src/common/plugin.c
@@ -1548,7 +1548,8 @@ hexchat_list_int (hexchat_plugin *ph, hexchat_list *xlist, const char *name)
 {
 	guint32 hash = str_hash (name);
 	gpointer data = ph->context;
-	int tmp, type = LIST_CHANNELS;
+	int tmp = 0;
+	int type = LIST_CHANNELS;
 
 	/* a NULL xlist is a shortcut to current "channels" context */
 	if (xlist)