Skip to content

Commit

Permalink
Fix "storing the address of local variable" in trcmain.c
Browse files Browse the repository at this point in the history
This commit fixes a build error with runtime/rastrace/trcmain.c.

Fixes: #20171

Signed-off-by: KONNO Kazuhiro <konno@jp.ibm.com>
  • Loading branch information
knn-k committed Sep 26, 2024
1 parent 0985ff3 commit bf8ca05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtime/rastrace/trcmain.c
Original file line number Diff line number Diff line change
Expand Up @@ -1053,6 +1053,7 @@ initializeTrace(UtThreadData **thr, void **gbl,
} else {
/* the old utGlobal is still in use */
UT_DBGOUT(1, ("<UT> Error, utGlobal already in use.\n"));
*thr = NULL;
return OMR_ERROR_INTERNAL;
}
}
Expand Down

0 comments on commit bf8ca05

Please sign in to comment.