mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Ticket #3693: code cleanup before 4.8.19 release.
WRadio: remove unused 'state' field. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
43d7fce730
commit
aa6055b6aa
@ -195,7 +195,6 @@ radio_new (int y, int x, int count, const char **texts)
|
||||
/* 4 is width of "(*) " */
|
||||
widget_init (w, y, x, count, 4 + wmax, radio_callback, radio_mouse_callback);
|
||||
w->options |= WOP_SELECTABLE | WOP_WANT_CURSOR | WOP_WANT_HOTKEY;
|
||||
r->state = 1;
|
||||
r->pos = 0;
|
||||
r->sel = 0;
|
||||
r->count = count;
|
||||
|
@ -17,8 +17,8 @@
|
||||
typedef struct WRadio
|
||||
{
|
||||
Widget widget;
|
||||
unsigned int state; /* radio button state */
|
||||
int pos, sel;
|
||||
int pos;
|
||||
int sel;
|
||||
int count; /* number of members */
|
||||
hotkey_t *texts; /* texts of labels */
|
||||
} WRadio;
|
||||
|
Loading…
Reference in New Issue
Block a user