1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Initialize a local variable.

llvm-svn: 50527
This commit is contained in:
Ted Kremenek 2008-05-01 17:08:00 +00:00
parent e9bbe8e6b6
commit 9d8f6a05b6

View File

@ -436,7 +436,7 @@ public:
}
template <typename T>
T* ReadPtr() { T* x; ReadPtr<T>(x,false); return x; }
T* ReadPtr() { T* x = 0; ReadPtr<T>(x,false); return x; }
void ReadUIntPtr(uintptr_t& PtrRef, const SerializedPtrID& PtrID,
bool AllowBackpatch = true);