mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
8140663: FrameValue might be used uninitialized
Add a constructor Reviewed-by: sspitsyn, jwilhelm
This commit is contained in:
parent
86cf323c41
commit
cf5f478f5d
1 changed files with 8 additions and 0 deletions
|
@ -442,6 +442,14 @@ class FrameValue VALUE_OBJ_CLASS_SPEC {
|
|||
char* description;
|
||||
int owner;
|
||||
int priority;
|
||||
|
||||
FrameValue() {
|
||||
location = NULL;
|
||||
description = NULL;
|
||||
owner = -1;
|
||||
priority = 0;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue