Skip to content
Browse files
8254166: Zero: return-type warning in zeroInterpreter_zero.cpp
Reviewed-by: sgehwolf
  • Loading branch information
shipilev committed Oct 8, 2020
1 parent 894ec76 commit 7952c06b365e873be1c5e812efb3c5b2afa7c64c
Showing 1 changed file with 3 additions and 1 deletion.
@@ -138,7 +138,9 @@ intptr_t narrow(BasicType type, intptr_t result) {
case T_DOUBLE:
case T_VOID:
return result;
default : ShouldNotReachHere();
return result; // silence compiler warnings

1 comment on commit 7952c06

Copy link

@bridgekeeper bridgekeeper bot commented on 7952c06 Oct 8, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.