From a8ef53fa51dcc81dbb9a647dfc1777ef72ee2f93 Mon Sep 17 00:00:00 2001 From: yz70s Date: Fri, 25 Dec 2015 20:18:31 +0100 Subject: debugint.cpp: fix uninitialized variable error (nw) --- src/osd/modules/debugger/debugint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/osd/modules/debugger/debugint.cpp') diff --git a/src/osd/modules/debugger/debugint.cpp b/src/osd/modules/debugger/debugint.cpp index 009d4db9f0c..28b6379f70e 100644 --- a/src/osd/modules/debugger/debugint.cpp +++ b/src/osd/modules/debugger/debugint.cpp @@ -1210,7 +1210,7 @@ static void on_memory_data_format(DView *dv, const ui_menu_event *event) { debug_view_memory *memview = downcast(focus_view->view); int format = memview->get_data_format(); - int idx; + int idx = 0; int order[7] = { 1, 2, 4, 8, 9, 10, 11 }; for(int x=0; x<7; x++) -- cgit v1.2.3