* hotlist.c (update_path_name): Fix gcc4 warning.

This commit is contained in:
Andrew V. Samoilov 2006-08-08 12:17:14 +00:00
parent bd24e2ea78
commit 1868ddd520
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2006-08-08 Andrew V. Samoilov <sav@bcs.zp.ua>
* hotlist.c (update_path_name): Fix gcc4 warning.
2006-06-26 Oswald Buddenhagen <ossi@kde.org>
* hotlist.c (remove_from_hotlist): Fix erronous check of the return

View File

@ -168,7 +168,7 @@ hotlist_refresh (Dlg_head * dlg)
static inline void
update_path_name (void)
{
const char *text;
const char *text = "";
char *p;
WListbox *list = hotlist_state.moving ? l_movelist : l_hotlist;
Dlg_head *dlg = list->widget.parent;
@ -185,8 +185,6 @@ update_path_name (void)
} else {
text = list->current->text;
}
} else {
text = "";
}
if (!hotlist_state.moving)
label_set_text (pname,