Commit c238eb93 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Fixed unintialized variables.

parent 9e3b5bd0
......@@ -104,7 +104,7 @@ Qt4BaseTarget *Qt4MaemoTargetFactory::restore(ProjectExplorer::Project *parent,
return 0;
const QString id = idFromMap(map);
AbstractQt4MaemoTarget *target;
AbstractQt4MaemoTarget *target = 0;
Qt4Project *qt4project = static_cast<Qt4Project *>(parent);
if (id == QLatin1String(Constants::MAEMO5_DEVICE_TARGET_ID))
target = new Qt4Maemo5Target(qt4project, QLatin1String("transient ID"));
......
......@@ -1284,7 +1284,7 @@ QStringList Qt4ProFileNode::symbianCapabilities() const
}
}
QStringList result; //let's make the result pretty
int index;
int index = -1;
foreach (QString lowerCase, lowerCasedResult) {
for (int i = 0; i < all.count(); ++i) {
index = -1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment