mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-04 02:35:33 +00:00
8266892: avoid maybe-uninitialized gcc warnings on linux s390x
Reviewed-by: shade, lucy
This commit is contained in:
parent
6575566d83
commit
9e6e2228cb
@ -1387,6 +1387,7 @@ inline unsigned int Assembler::get_instruction(unsigned char *pc, unsigned long
|
||||
// The length as returned from instr_len() can only be 2, 4, or 6 bytes.
|
||||
// Having a default clause makes the compiler happy.
|
||||
ShouldNotReachHere();
|
||||
*instr = 0L; // This assignment is there to make gcc8 happy.
|
||||
break;
|
||||
}
|
||||
return len;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user