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-by: default avatarQt Sanity Bot <>
Reviewed-by: default avatarDaniel Teske <>
parent 95a51cec
...@@ -178,7 +178,7 @@ BuildConfiguration *GenericBuildConfigurationFactory::create(ProjectExplorer::Ta ...@@ -178,7 +178,7 @@ BuildConfiguration *GenericBuildConfigurationFactory::create(ProjectExplorer::Ta
QString(), QString(),
&ok); &ok);
if (!ok || buildConfigurationName.isEmpty()) if (!ok || buildConfigurationName.isEmpty())
return false; return 0;
GenericBuildConfiguration *bc = new GenericBuildConfiguration(target); GenericBuildConfiguration *bc = new GenericBuildConfiguration(target);
bc->setDisplayName(buildConfigurationName); bc->setDisplayName(buildConfigurationName);
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