diff options
author | 2011-05-30 03:31:11 +0000 | |
---|---|---|
committer | 2011-05-30 03:31:11 +0000 | |
commit | 601301fc95130f5322fb89d0e34d713b8f6e5ac9 (patch) | |
tree | 26d4fd37a565e61b57211b79fc9ae5c2b480e9a7 /src/osd/sdl/debugwin.c | |
parent | 999394b8f50cbc224c3415fd42386d71217e799c (diff) |
GCC 4.6 "Variable assigned but not used" fixes, part 6 (no whatsnew)
Diffstat (limited to 'src/osd/sdl/debugwin.c')
-rw-r--r-- | src/osd/sdl/debugwin.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/osd/sdl/debugwin.c b/src/osd/sdl/debugwin.c index c30a0dbbe58..ae0634ababa 100644 --- a/src/osd/sdl/debugwin.c +++ b/src/osd/sdl/debugwin.c @@ -764,7 +764,7 @@ static void memorywin_destroy(GtkObject *obj, gpointer user_data) static void memorywin_new(running_machine &machine) { win_i *mem; - int item, cursel; + int item; //, cursel; device_t *curcpu = debug_cpu_get_visible_cpu(machine); GtkComboBox * zone_w; @@ -781,7 +781,8 @@ static void memorywin_new(running_machine &machine) downcast<debug_view_memory *>(mem->views[0]->view)->set_expression("0"); // populate the combobox - cursel = item = 0; +// cursel = 0; + item = 0; for (const debug_view_source *source = mem->views[0]->view->source_list().head(); source != NULL; source = source->next()) { @@ -858,7 +859,7 @@ static void disasmwin_destroy(GtkObject *obj, gpointer user_data) static void disasmwin_new(running_machine &machine) { win_i *dis; - int item, cursel; + int item; //, cursel; device_t *curcpu = debug_cpu_get_visible_cpu(machine); GtkComboBox *cpu_w; astring title; @@ -877,7 +878,8 @@ static void disasmwin_new(running_machine &machine) downcast<debug_view_disasm *>(dis->views[0]->view)->set_expression("curpc"); // populate the combobox - cursel = item = 0; +// cursel = 0; + item = 0; for (const debug_view_source *source = dis->views[0]->view->source_list().head(); source != NULL; source = source->next()) { gtk_combo_box_append_text(cpu_w, source->name()); |