Skip to content

Commit 8f9e479

Browse files
committed
8254144: Non-x86 Zero builds fail with return-type warning in os_linux_zero.cpp
Reviewed-by: zgu
1 parent 7952c06 commit 8f9e479

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/hotspot/os_cpu/linux_zero/os_linux_zero.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,7 @@ extern "C" {
480480
long long unsigned int oldval,
481481
long long unsigned int newval) {
482482
ShouldNotCallThis();
483+
return 0; // silence compiler compiler warnings
483484
}
484485
};
485486
#endif // !_LP64

0 commit comments

Comments
 (0)