Initialize a local variable.

llvm-svn: 50527
This commit is contained in:
Ted Kremenek 2008-05-01 17:08:00 +00:00
parent ed36e4b9a4
commit 234dc7ac39
1 changed files with 1 additions and 1 deletions

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);