changeset 9953:60648c97cdd0

Windows build fix: compiler warning "not all control paths return a value" in CodeInstaller::pd_next_offset.
author Andreas Woess <andreas.woess@jku.at>
date Mon, 10 Jun 2013 01:37:46 +0200
parents 5d91b0b67cba
children 8ad4e90fc5d7 38b1517cf458
files src/cpu/x86/vm/codeInstaller_x86.hpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;
   }
 }