Browse Source

ERR: Fix error on bad C++ compiler that do not handle return void

Andy Cedilnik 22 năm trước cách đây
mục cha
commit
7eb7973393
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Source/cmCPluginAPI.cxx

+ 1 - 1
Source/cmCPluginAPI.cxx

@@ -539,7 +539,7 @@ void cmRemoveFile(const char *name)
 void cmDisplayStatus(void *arg, const char* message)
 {
   cmMakefile *mf = static_cast<cmMakefile *>(arg);
-  return mf->DisplayStatus(message, -1);
+  mf->DisplayStatus(message, -1);
 }
 
 void cmFree(void *data)