[cfe-commits] r100732 - /cfe/trunk/lib/Sema/SemaOverload.cpp
John McCall
rjmccall at apple.com
Wed Apr 7 17:13:37 PDT 2010
Author: rjmccall
Date: Wed Apr 7 19:13:37 2010
New Revision: 100732
URL: http://llvm.org/viewvc/llvm-project?rev=100732&view=rev
Log:
Fix a (bogus) uninitialized-member-of-local warning.
Modified:
cfe/trunk/lib/Sema/SemaOverload.cpp
Modified: cfe/trunk/lib/Sema/SemaOverload.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaOverload.cpp?rev=100732&r1=100731&r2=100732&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaOverload.cpp (original)
+++ cfe/trunk/lib/Sema/SemaOverload.cpp Wed Apr 7 19:13:37 2010
@@ -6003,7 +6003,7 @@
MemberExpr *MemExpr;
CXXMethodDecl *Method = 0;
- DeclAccessPair FoundDecl;
+ DeclAccessPair FoundDecl = DeclAccessPair::make(0, AS_public);
NestedNameSpecifier *Qualifier = 0;
if (isa<MemberExpr>(NakedMemExpr)) {
MemExpr = cast<MemberExpr>(NakedMemExpr);
More information about the cfe-commits
mailing list