Hello,

this path fixes this:

hotlist.c: In function `hotlist_callback':
hotlist.c:171: warning: `text' might be used uninitialized in this function

Best regards,
-- 
Regards,
Andrew V. Samoilov

________________________________________________________________
GET INTERNET ACCESS FROM BCS! http://www.bcs.zp.ua
Join BCS today! For your FREE webmail, visit: http://email.zp.ua/
        * hotlist.c (update_path_name): Fix gcc4 warning.

--- hotlist.c~  2006-08-04 11:36:43.000000000 +0300
+++ hotlist.c   2006-08-08 10:40:36.000000000 +0300
@@ -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,
_______________________________________________
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel

Reply via email to