Mercurial > gftp.yaz
diff src/gtk/bookmarks.c @ 517:648bf2825ea9
2004-7-27 Brian Masney <masneyb@gftp.org>
* lib/rfc2068.c lib/sshv2.c src/gtk/bookmarks.c src/gtk/chmod_dialog.c
src/gtk/gtkui.c src/gtk/transfer.c src/uicommon/gftpui.c - removed
unused variables
* src/gtk/misc-gtk.c (progress_timeout) - fixed implicit integer to
float conversion
author | masneyb |
---|---|
date | Tue, 27 Jul 2004 20:43:39 +0000 |
parents | e55d8b35d809 |
children | c6a6e908dbaf |
line wrap: on
line diff
--- a/src/gtk/bookmarks.c Tue Jul 27 02:46:54 2004 +0000 +++ b/src/gtk/bookmarks.c Tue Jul 27 20:43:39 2004 +0000 @@ -403,7 +403,6 @@ GdkPixmap * closedir_pixmap, * opendir_pixmap; GdkBitmap * closedir_bitmap, * opendir_bitmap; gftp_bookmarks_var * tempentry, * newentry; - GtkCTreeNode * sibling; char *pos, *text[2]; const char *str; #if GTK_MAJOR_VERSION > 1 @@ -436,17 +435,13 @@ newentry->isfolder = 1; if (new_bookmarks->children == NULL) - { - new_bookmarks->children = newentry; - sibling = NULL; - } + new_bookmarks->children = newentry; else { tempentry = new_bookmarks->children; while (tempentry->next != NULL) tempentry = tempentry->next; tempentry->next = newentry; - sibling = tempentry->cnode; } text[0] = text[1] = newentry->path;