* src/widget.c (listbox_new): Remove redundant initialization of

WListbox fields.
This commit is contained in:
Pavel Tsekov 2007-09-19 11:01:50 +00:00
parent 2d297c4375
commit bdcbed43de
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2007-09-14 Pavel Tsekov <ptsekov@gmx.net>
* widget.c (listbox_new): Remove redundant initialization of
WListbox fields.
2007-09-17 Maxim Britov <maxim@office.modum.by>
* util.c (file_date): Do not ignore the return value

View File

@ -2161,8 +2161,6 @@ listbox_new (int y, int x, int width, int height, lcback callback)
else
l->height = height;
l->count = 0;
l->top = 0;
l->current = 0;
l->cback = callback;
l->allow_duplicates = 1;
l->scrollbar = slow_terminal ? 0 : 1;