[PATCH] D122632: [scudo] Initialize local variable to avoid compiler warning
Dominic Chen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 29 14:26:32 PDT 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG92897217fa14: [scudo] Initialize local variable to avoid compiler warning (authored by ddcc).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122632/new/
https://reviews.llvm.org/D122632
Files:
compiler-rt/lib/scudo/standalone/secondary.h
Index: compiler-rt/lib/scudo/standalone/secondary.h
===================================================================
--- compiler-rt/lib/scudo/standalone/secondary.h
+++ compiler-rt/lib/scudo/standalone/secondary.h
@@ -232,7 +232,7 @@
const u32 MaxCount = atomic_load_relaxed(&MaxEntriesCount);
bool Found = false;
CachedBlock Entry;
- uptr HeaderPos;
+ uptr HeaderPos = 0;
{
ScopedLock L(Mutex);
if (EntriesCount == 0)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122632.418983.patch
Type: text/x-patch
Size: 463 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220329/0e3992a9/attachment.bin>
More information about the llvm-commits
mailing list