Browse Source

COMP: fix compile warning/error (non-void function returning void)

Alex
Alexander Neundorf 17 years ago
parent
commit
c2cc883430
2 changed files with 2 additions and 2 deletions
  1. 1 1
      Source/cmFindPackageCommand.cxx
  2. 1 1
      Source/cmFindPackageCommand.h

+ 1 - 1
Source/cmFindPackageCommand.cxx

@@ -533,7 +533,7 @@ bool cmFindPackageCommand
 
 
 
 
 //----------------------------------------------------------------------------
 //----------------------------------------------------------------------------
-bool cmFindPackageCommand::SetModuleVariables(const std::string& components)
+void cmFindPackageCommand::SetModuleVariables(const std::string& components)
 {
 {
   // Store the list of components.
   // Store the list of components.
   std::string components_var = this->Name + "_FIND_COMPONENTS";
   std::string components_var = this->Name + "_FIND_COMPONENTS";

+ 1 - 1
Source/cmFindPackageCommand.h

@@ -73,7 +73,7 @@ public:
 private:
 private:
   void AppendSuccessInformation();
   void AppendSuccessInformation();
   void AppendToProperty(const char* propertyName);
   void AppendToProperty(const char* propertyName);
-  bool SetModuleVariables(const std::string& components);
+  void SetModuleVariables(const std::string& components);
   bool FindModule(bool& found);
   bool FindModule(bool& found);
   bool HandlePackageMode();
   bool HandlePackageMode();
   void FindConfig();
   void FindConfig();