diff options
author | João Abecasis <joao@abecasis.name> | 2009-10-07 09:59:32 (GMT) |
---|---|---|
committer | João Abecasis <joao@abecasis.name> | 2009-10-07 10:44:42 (GMT) |
commit | 3f371e2afc9b680b5747a94df57d29afe01204f1 (patch) | |
tree | 3c14c8f9a4fa6c9363789f0bb9d3a48aa529e712 /tools/assistant | |
parent | 038f3eef0f5a0d3012a1529fd4b768bbb9b8fb3c (diff) | |
download | Qt-3f371e2afc9b680b5747a94df57d29afe01204f1.zip Qt-3f371e2afc9b680b5747a94df57d29afe01204f1.tar.gz Qt-3f371e2afc9b680b5747a94df57d29afe01204f1.tar.bz2 |
Fixing warnings on GCC... (II)
... by establishing a default behaviour for the switch statements that
follow.
Reviewed-by: ck
Diffstat (limited to 'tools/assistant')
-rw-r--r-- | tools/assistant/lib/qhelpsearchquerywidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/assistant/lib/qhelpsearchquerywidget.cpp b/tools/assistant/lib/qhelpsearchquerywidget.cpp index 9ac4a7d..361e9ac 100644 --- a/tools/assistant/lib/qhelpsearchquerywidget.cpp +++ b/tools/assistant/lib/qhelpsearchquerywidget.cpp @@ -229,7 +229,7 @@ private: const QList<QHelpSearchQuery> &query = queryHist->queries.at(queryHist->curQuery); foreach (const QHelpSearchQuery &queryPart, query) { - QLineEdit *lineEdit; + QLineEdit *lineEdit = 0; switch (queryPart.fieldName) { case QHelpSearchQuery::DEFAULT: lineEdit = defaultQuery; |