[cfe-commits] r135348 - /cfe/trunk/lib/Sema/AnalysisBasedWarnings.cpp
Fariborz Jahanian
fjahanian at apple.com
Sat Jul 16 11:31:33 PDT 2011
Author: fjahanian
Date: Sat Jul 16 13:31:33 2011
New Revision: 135348
URL: http://llvm.org/viewvc/llvm-project?rev=135348&view=rev
Log:
Remove a gcc warning.
Modified:
cfe/trunk/lib/Sema/AnalysisBasedWarnings.cpp
Modified: cfe/trunk/lib/Sema/AnalysisBasedWarnings.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/AnalysisBasedWarnings.cpp?rev=135348&r1=135347&r2=135348&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/AnalysisBasedWarnings.cpp (original)
+++ cfe/trunk/lib/Sema/AnalysisBasedWarnings.cpp Sat Jul 16 13:31:33 2011
@@ -723,7 +723,7 @@
!= Diagnostic::Ignored) {
if (CFG *cfg = AC.getCFG()) {
UninitValsDiagReporter reporter(S);
- UninitVariablesAnalysisStats stats = {};
+ UninitVariablesAnalysisStats stats;
runUninitializedVariablesAnalysis(*cast<DeclContext>(D), *cfg, AC,
reporter, stats);
More information about the cfe-commits
mailing list