diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2011-04-07 17:29:41 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-09 19:10:16 -0300 |
commit | 988de2f105e30e59c5df649ce6d46f9f66a211d8 (patch) | |
tree | caf06d40331f33449a4fcf3eeb4856329622ce97 /typesystem.cpp | |
parent | 17f8e2a2435874df7103826641ab46b7761c010a (diff) |
Removed warning about unused variable when using gcc 4.6.
Diffstat (limited to 'typesystem.cpp')
-rw-r--r-- | typesystem.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/typesystem.cpp b/typesystem.cpp index 843f18267..a3543750b 100644 --- a/typesystem.cpp +++ b/typesystem.cpp @@ -992,11 +992,8 @@ bool Handler::startElement(const QString &, const QString &n, } QString name = attributes["name"]; - bool added = false; - if (!name.isEmpty() && m_database->supportedApiVersion(since)) { - added = true; + if (!name.isEmpty() && m_database->supportedApiVersion(since)) m_currentEnum->addEnumValueRejection(name); - } } break; case StackElement::ReplaceType: { |