Fix warning

This commit is contained in:
TingPing 2013-03-25 03:17:58 -03:00
parent a6042f38b4
commit 1c929cd694

View File

@ -328,7 +328,7 @@ fe_userlist_rehash (session *sess, struct User *user)
{ {
GtkTreeIter *iter; GtkTreeIter *iter;
int sel; int sel;
int nick_color = NULL; int nick_color = 0;
iter = find_row (GTK_TREE_VIEW (sess->gui->user_tree), iter = find_row (GTK_TREE_VIEW (sess->gui->user_tree),
sess->res->user_model, user, &sel); sess->res->user_model, user, &sel);
@ -353,7 +353,7 @@ fe_userlist_insert (session *sess, struct User *newuser, int row, int sel)
GdkPixbuf *pix = get_user_icon (sess->server, newuser); GdkPixbuf *pix = get_user_icon (sess->server, newuser);
GtkTreeIter iter; GtkTreeIter iter;
char *nick; char *nick;
int nick_color = NULL; int nick_color = 0;
if (prefs.hex_away_track && prefs.hex_away_size_max && newuser->away) if (prefs.hex_away_track && prefs.hex_away_size_max && newuser->away)
nick_color = COL_AWAY; nick_color = COL_AWAY;