mirror of
https://github.com/MidnightCommander/mc
synced 2025-02-14 14:24:21 +03:00
* hotlist.c (update_path_name): Fix gcc4 warning.
This commit is contained in:
parent
bd24e2ea78
commit
1868ddd520
@ -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
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user