Skip to content
Snippets Groups Projects
Commit c062dbe7 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Fix: Warning about assigning false to pointer

Return a 0 pointer instead of false.

Change-Id: I8381e3e4a1cbac6f0c9e523ff177865a6886c76d
Reviewed-on: http://codereview.qt.nokia.com/344


Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
parent 95a51cec
No related branches found
No related tags found
No related merge requests found
......@@ -178,7 +178,7 @@ BuildConfiguration *GenericBuildConfigurationFactory::create(ProjectExplorer::Ta
QString(),
&ok);
if (!ok || buildConfigurationName.isEmpty())
return false;
return 0;
GenericBuildConfiguration *bc = new GenericBuildConfiguration(target);
bc->setDisplayName(buildConfigurationName);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment