From bf22a6960b707573555653ddd8de829e80978214 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Tue, 5 Mar 2013 13:49:15 +0800 Subject: ui/twin: fix compiler warnings Signed-off-by: Jeremy Kerr Signed-off-by: Geoff Levand --- ui/twin/pbt-client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui/twin') 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); -- cgit v1.1