From 093116cc875c773dc17ce2d4cb383bd73791e0ef Mon Sep 17 00:00:00 2001 From: Scott Stone Date: Sat, 28 May 2016 17:29:58 -0400 Subject: [PATCH] Compile fix (uninitialized variable) (nw) --- src/devices/cpu/sharc/sharcdrc.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/devices/cpu/sharc/sharcdrc.cpp b/src/devices/cpu/sharc/sharcdrc.cpp index 2f7f3e0fbcb..9fc09c87bb0 100644 --- a/src/devices/cpu/sharc/sharcdrc.cpp +++ b/src/devices/cpu/sharc/sharcdrc.cpp @@ -2189,7 +2189,7 @@ int adsp21062_device::generate_opcode(drcuml_block *block, compiler_state *compi case 0x04: // compute / modify |000|00100| { int cond = (opcode >> 33) & 0x1f; - int compute = opcode & 0x7fffff; +// int compute = opcode & 0x7fffff; int g = (opcode >> 38) & 0x1; int m = (opcode >> 27) & 0x7; int i = (opcode >> 30) & 0x7; @@ -2292,7 +2292,7 @@ int adsp21062_device::generate_opcode(drcuml_block *block, compiler_state *compi int pmi = (opcode >> 30) & 0x7; int pmm = (opcode >> 27) & 0x7; int cond = (opcode >> 33) & 0x1f; - int compute = opcode & 0x7fffff; +// int compute = opcode & 0x7fffff; if (e) { @@ -2354,7 +2354,7 @@ int adsp21062_device::generate_opcode(drcuml_block *block, compiler_state *compi int j = (opcode >> 26) & 0x1; int e = (opcode >> 25) & 0x1; int cond = (opcode >> 33) & 0x1f; - int compute = opcode & 0x7fffff; +// int compute = opcode & 0x7fffff; if (e) { @@ -2410,7 +2410,7 @@ int adsp21062_device::generate_opcode(drcuml_block *block, compiler_state *compi int j = (opcode >> 26) & 0x1; int e = (opcode >> 25) & 0x1; //int lr = (opcode >> 24) & 0x1; - int compute = opcode & 0x7fffff; +// int compute = opcode & 0x7fffff; // TODO: loop re-entry @@ -2455,7 +2455,7 @@ int adsp21062_device::generate_opcode(drcuml_block *block, compiler_state *compi int cond = (opcode >> 33) & 0x1f; int j = (opcode >> 26) & 0x1; int e = (opcode >> 25) & 0x1; - int compute = opcode & 0x7fffff; +// int compute = opcode & 0x7fffff; code_label skip_pop = compiler->labelnum++;