Added initialization to ErrorDiag to silence gcc's warning of the variable
potentially being used uninitialized (which it cannot be).


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48393 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Analysis/GRSimpleVals.cpp b/Analysis/GRSimpleVals.cpp
index 4442933..3777d53 100644
--- a/Analysis/GRSimpleVals.cpp
+++ b/Analysis/GRSimpleVals.cpp
@@ -74,7 +74,7 @@
   msg = Out.str().c_str();
   
   bool isFirst = true;
-  unsigned ErrorDiag;
+  unsigned ErrorDiag = 0;
   llvm::SmallPtrSet<void*,10> CachedErrors;  
   
   for (; I != E; ++I) {