# HG changeset patch # User Andreas Woess # Date 1370821066 -7200 # Node ID 60648c97cdd0f7b61793556dd5b135cc148e716c # Parent 5d91b0b67cbabb967fa928637f0ad4be1f3ec0b0 Windows build fix: compiler warning "not all control paths return a value" in CodeInstaller::pd_next_offset. diff -r 5d91b0b67cba -r 60648c97cdd0 src/cpu/x86/vm/codeInstaller_x86.hpp --- a/src/cpu/x86/vm/codeInstaller_x86.hpp Mon Jun 10 01:16:33 2013 +0200 +++ b/src/cpu/x86/vm/codeInstaller_x86.hpp Mon Jun 10 01:37:46 2013 +0200 @@ -52,6 +52,7 @@ return (pc_offset + ((NativeCallReg *) inst)->next_instruction_offset()); } else { fatal("unsupported type of instruction for call site"); + return 0; } }