summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 14ad15c..a3f532d 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -1255,7 +1255,7 @@ void cmMakefile::RegisterData(cmData* data)
{
std::string name = data->GetName();
DataMap::const_iterator d = m_DataMap.find(name);
- if((d != m_DataMap.end()) && (d->second != NULL) && (d->second != data))
+ if((d != m_DataMap.end()) && (d->second != 0) && (d->second != data))
{
delete d->second;
}
@@ -1270,7 +1270,7 @@ void cmMakefile::RegisterData(cmData* data)
void cmMakefile::RegisterData(const char* name, cmData* data)
{
DataMap::const_iterator d = m_DataMap.find(name);
- if((d != m_DataMap.end()) && (d->second != NULL) && (d->second != data))
+ if((d != m_DataMap.end()) && (d->second != 0) && (d->second != data))
{
delete d->second;
}
@@ -1291,7 +1291,7 @@ cmData* cmMakefile::LookupData(const char* name) const
}
else
{
- return NULL;
+ return 0;
}
}