Skip to content

Commit

Permalink
8254144: Non-x86 Zero builds fail with return-type warning in os_linu…
Browse files Browse the repository at this point in the history
…x_zero.cpp

Reviewed-by: zgu
  • Loading branch information
shipilev committed Oct 8, 2020
1 parent 7952c06 commit 8f9e479
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hotspot/os_cpu/linux_zero/os_linux_zero.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,7 @@ extern "C" {
long long unsigned int oldval,
long long unsigned int newval) {
ShouldNotCallThis();
return 0; // silence compiler compiler warnings
}
};
#endif // !_LP64
Expand Down

1 comment on commit 8f9e479

@bridgekeeper
Copy link

@bridgekeeper bridgekeeper bot commented on 8f9e479 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.