diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2012-09-28 14:16:36 (GMT) |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-09-29 06:12:32 (GMT) |
commit | d65dbb5d508d4cdbc383686428430035c205b21c (patch) | |
tree | 35457ae8b8cb93fdae295ac28c78d221091b98d9 /src/tools | |
parent | 66e7e69f00a08664f0c0a6ed62a37a6918eaf8f3 (diff) | |
download | Qt-d65dbb5d508d4cdbc383686428430035c205b21c.zip Qt-d65dbb5d508d4cdbc383686428430035c205b21c.tar.gz Qt-d65dbb5d508d4cdbc383686428430035c205b21c.tar.bz2 |
Fix g++/MinGW compiler warnings.
- Assigned/Unused variables.
- Unsigned comparison >= 0 is always true.
- Constructor initialization order.
- Signed/Unsigned comparisons.
Change-Id: I1f9edab0506573420ed0bf3055252ba48625c8eb
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/uic3/form.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/tools/uic3/form.cpp b/src/tools/uic3/form.cpp index 7a73203..2b132f5 100644 --- a/src/tools/uic3/form.cpp +++ b/src/tools/uic3/form.cpp @@ -197,20 +197,8 @@ void Ui3Reader::createFormDecl(const QDomElement &e) } out << endl; - bool dbForm = false; registerDatabases(e); dbConnections = unique(dbConnections); - if (dbForms[QLatin1String("(default)")].count()) - dbForm = true; - bool subDbForms = false; - for (it = dbConnections.constBegin(); it != dbConnections.constEnd(); ++it) { - if (!(*it).isEmpty() && (*it) != QLatin1String("(default)")) { - if (dbForms[(*it)].count()) { - subDbForms = true; - break; - } - } - } // some typedefs, maybe typeDefs = unique(typeDefs); |