Procházet zdrojové kódy

COMP: Avoid unused arg warnings in cmFileCommand

The default cmFileCopier::ReportCopy implementation is empty, so we
should leave out the argument names.
Brad King před 16 roky
rodič
revize
01c669e643
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      Source/cmFileCommand.cxx

+ 1 - 1
Source/cmFileCommand.cxx

@@ -1039,7 +1039,7 @@ protected:
     TypeDir,
     TypeDir,
     TypeLink
     TypeLink
   };
   };
-  virtual void ReportCopy(const char* toFile, Type type, bool copy) {}
+  virtual void ReportCopy(const char*, Type, bool) {}
   virtual bool ReportMissing(const char* fromFile)
   virtual bool ReportMissing(const char* fromFile)
     {
     {
     // The input file does not exist and installation is not optional.
     // The input file does not exist and installation is not optional.