diff options
author | Bill King <bill.king@nokia.com> | 2010-06-11 13:37:01 +1000 |
---|---|---|
committer | Bill King <bill.king@nokia.com> | 2010-06-11 13:37:01 +1000 |
commit | 7f505011b2d7ac23862a5b7899a435610ad36cef (patch) | |
tree | dec33644e6f6801d938d35eea4a313e68861a5c9 /src/shared/cplusplus/CheckDeclaration.cpp | |
parent | 55edbe1c5b5a258ff106da98fd04f0c366bc31c0 (diff) | |
download | qt-creator-7f505011b2d7ac23862a5b7899a435610ad36cef.tar.gz |
Fix dead/unnecessary code.
Diffstat (limited to 'src/shared/cplusplus/CheckDeclaration.cpp')
-rw-r--r-- | src/shared/cplusplus/CheckDeclaration.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/shared/cplusplus/CheckDeclaration.cpp b/src/shared/cplusplus/CheckDeclaration.cpp index 2e5db3f73d..a0ae84fa5a 100644 --- a/src/shared/cplusplus/CheckDeclaration.cpp +++ b/src/shared/cplusplus/CheckDeclaration.cpp @@ -874,8 +874,6 @@ void CheckDeclaration::checkQEnumsQFlagsNames(NameListAST *nameListAst, const char *declName) { for (NameListAST *iter = nameListAst; iter; iter = iter->next) { - if (!iter) - continue; const Name *name = semantic()->check(iter->value, _scope); if (!name) |