Răsfoiți Sursa

COMP: Do not use void returns

VS 6 does not support the C++ void returns feature.  This removes an
accidental use of it.
Brad King 17 ani în urmă
părinte
comite
d96e7e0e5a
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      Source/cmCacheManager.cxx

+ 1 - 1
Source/cmCacheManager.cxx

@@ -898,7 +898,7 @@ void cmCacheManager::CacheIterator::SetProperty(const char* p, const char* v)
 {
   if(!this->IsAtEnd())
     {
-    return this->GetEntry().SetProperty(p, v);
+    this->GetEntry().SetProperty(p, v);
     }
 }