diff options
| author | 2015-12-25 20:18:31 +0100 | |
|---|---|---|
| committer | 2015-12-25 20:18:31 +0100 | |
| commit | a8ef53fa51dcc81dbb9a647dfc1777ef72ee2f93 (patch) | |
| tree | e4fecdafc48659838da7427340ba92b38bc433f4 /src/osd/modules/debugger/debugint.cpp | |
| parent | 6f8d4d4061ae6e553c8a6ec51f0e1696e43b2f87 (diff) | |
debugint.cpp: fix uninitialized variable error (nw)
Diffstat (limited to 'src/osd/modules/debugger/debugint.cpp')
| -rw-r--r-- | src/osd/modules/debugger/debugint.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<debug_view_memory *>(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++) |
