diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-01-15 18:32:35 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-01-15 18:32:35 +0000 |
commit | f185319f25efd6094870f287030270fad26085ba (patch) | |
tree | 14ab192b82690cd920548720ee8c584479894518 /lib/Sema/SemaLookup.cpp | |
parent | d4edfe4746c66d2ac452c8a8d7cac17192283e75 (diff) |
Fix some unused variable, control reaches end of non-void function,
and uninitialized use options.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62270 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaLookup.cpp')
-rw-r--r-- | lib/Sema/SemaLookup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaLookup.cpp b/lib/Sema/SemaLookup.cpp index cc9a36ced2..6ef93ced24 100644 --- a/lib/Sema/SemaLookup.cpp +++ b/lib/Sema/SemaLookup.cpp @@ -490,7 +490,7 @@ Sema::LookupQualifiedName(DeclContext *LookupCtx, DeclarationName Name, // the result of the lookup. // FIXME: support using declarations! QualType SubobjectType; - int SubobjectNumber; + int SubobjectNumber = 0; for (BasePaths::paths_iterator Path = Paths.begin(), PathEnd = Paths.end(); Path != PathEnd; ++Path) { const BasePathElement &PathElement = Path->back(); |