diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-03-05 13:49:15 +0800 |
---|---|---|
committer | Geoff Levand <geoff@infradead.org> | 2013-03-05 06:06:17 -0800 |
commit | bf22a6960b707573555653ddd8de829e80978214 (patch) | |
tree | 24e019e9c1ecce21035a564593235e2bb0b41a03 /ui | |
parent | 0f29db72ec545322ea065c3b12c87b6fc7045b45 (diff) | |
download | petitboot-bf22a6960b707573555653ddd8de829e80978214.zip petitboot-bf22a6960b707573555653ddd8de829e80978214.tar.gz |
ui/twin: fix compiler warnings
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Geoff Levand <geoff@infradead.org>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/twin/pbt-client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/twin/pbt-client.c b/ui/twin/pbt-client.c index bcd17c9..ed12e5a 100644 --- a/ui/twin/pbt-client.c +++ b/ui/twin/pbt-client.c @@ -46,6 +46,7 @@ void pbt_frame_status_printf(struct pbt_frame *frame, const char *format, ...) va_start(ap, format); // TODO + (void)frame; va_end(ap); } @@ -184,12 +185,11 @@ static void pbt_device_remove(struct device *dev, struct pbt_client *client) { struct pbt_frame *const frame = &client->frame; struct list *i_list = frame->top_menu->item_list; + twin_window_t *last_window = NULL; struct pbt_item *removed_item; struct pbt_item *prev_item; struct pbt_item *next_item; struct pbt_item *i; - twin_window_t *last_window; - struct boot_option *opt; pb_log("%s: %p %s: n_options %d\n", __func__, dev, dev->id, dev->n_options); |