summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index cd3b4de..62a1e7c 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -701,10 +701,6 @@ AddCustomCommandToOutput(const char* outputIn,
}
if(file)
{
- if (file->GetCustomCommand())
- {
- delete file->GetCustomCommand();
- }
file->SetCustomCommand(cc);
}
}