Pārlūkot izejas kodu

Fix bug in trying to set stding with null

Andy Cedilnik 23 gadi atpakaļ
vecāks
revīzija
5897d078c6
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4 0
      Source/cmSourceFile.cxx

+ 4 - 0
Source/cmSourceFile.cxx

@@ -161,6 +161,10 @@ void cmSourceFile::SetProperty(const char* prop, const char* value)
     {
     return;
     }
+  if (!value)
+    {
+	value = "NOTFOUND";
+	}
   m_Properties[prop] = value;
 }