Skip to content

Commit acd75e0

Browse files
fbredberrobehn
authored andcommitted
8294053: Unneeded local variable in handle_safefetch()
Reviewed-by: rehn, stuefe, shade
1 parent 0b56b82 commit acd75e0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/hotspot/os/posix/safefetch_static_posix.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ extern "C" char _SafeFetchN_fault[] __attribute__ ((visibility ("hidden")));
4848
bool handle_safefetch(int sig, address pc, void* context) {
4949
ucontext_t* uc = (ucontext_t*)context;
5050
if ((sig == SIGSEGV || sig == SIGBUS) && uc != NULL) {
51-
address pc = os::Posix::ucontext_get_pc(uc);
5251
if (pc == (address)_SafeFetch32_fault) {
5352
os::Posix::ucontext_set_pc(uc, (address)_SafeFetch32_continuation);
5453
return true;

0 commit comments

Comments
 (0)