mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
8375367: vmTestbase tests reported variable uninitialized by clang23
Reviewed-by: sspitsyn, amenkov, lmesnik
This commit is contained in:
parent
9876875e37
commit
e4474ad8ae
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2004, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2004, 2026, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -113,7 +113,7 @@ static int prepare(JNIEnv* jni) {
|
||||
/** Agent algorithm. */
|
||||
static void JNICALL
|
||||
agentProc(jvmtiEnv* jvmti, JNIEnv* jni, void* arg) {
|
||||
jint dummy;
|
||||
jint dummy = 0;
|
||||
|
||||
if (!nsk_jvmti_waitForSync(timeout))
|
||||
return;
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2004, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2004, 2026, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -113,7 +113,7 @@ static int prepare(JNIEnv* jni) {
|
||||
/** Agent algorithm. */
|
||||
static void JNICALL
|
||||
agentProc(jvmtiEnv* jvmti, JNIEnv* jni, void* arg) {
|
||||
jint dummy;
|
||||
jint dummy = 0;
|
||||
|
||||
if (!nsk_jvmti_waitForSync(timeout))
|
||||
return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user