Some aid for compiler warnings

This commit is contained in:
Berke Viktor
2012-07-21 14:26:19 +02:00
parent 4cae471af3
commit e7f723539d
33 changed files with 92 additions and 22 deletions

View File

@@ -8,6 +8,7 @@
#include "../common/server.h"
#include "../common/fe.h"
#include "../common/util.h"
#include "../common/outbound.h"
#include "fe-gtk.h"
#include "pixmaps.h"
#include "maingui.h"
@@ -497,9 +498,11 @@ static void
tray_menu_cb (GtkWidget *widget, guint button, guint time, gpointer userdata)
{
GtkWidget *menu;
#ifndef WIN32
GtkWidget *submenu;
GtkWidget *item;
int away_status;
#endif
/* ph may have an invalid context now */
xchat_set_context (ph, xchat_find_context (ph, NULL, NULL));