mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Source: Avoid comparing pointers to nullptr
This commit is contained in:
@@ -242,7 +242,7 @@ void cmExtraSublimeTextGenerator::AppendTarget(
|
||||
MapSourceFileFlags& sourceFileFlags, bool firstTarget)
|
||||
{
|
||||
|
||||
if (target != nullptr) {
|
||||
if (target) {
|
||||
std::vector<cmSourceFile*> sourceFiles;
|
||||
target->GetSourceFiles(sourceFiles,
|
||||
makefile->GetSafeDefinition("CMAKE_BUILD_TYPE"));
|
||||
|
||||
Reference in New Issue
Block a user