From 93caa9b3c1446bda89980631f8fbcb8d76888c09 Mon Sep 17 00:00:00 2001 From: Jan Vidar Krey Date: Mon, 19 Dec 2011 00:36:53 +0100 Subject: [PATCH] Fix compile warning about uninitiaized variable. --- src/core/hub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/hub.c b/src/core/hub.c index 35af9b9..aef4728 100644 --- a/src/core/hub.c +++ b/src/core/hub.c @@ -304,7 +304,7 @@ int hub_handle_chat_message(struct hub_info* hub, struct hub_user* u, struct adc if (relay) { - plugin_st status; + plugin_st status = st_default; if (broadcast) { status = plugin_handle_chat_message(hub, u, message, 0);