Browse Source

ENH: fix warnings

Bill Hoffman 20 years ago
parent
commit
4bc584419e
2 changed files with 1 additions and 2 deletions
  1. 0 1
      Source/cmGlobalXCodeGenerator.cxx
  2. 1 1
      Source/cmXCodeObject.h

+ 0 - 1
Source/cmGlobalXCodeGenerator.cxx

@@ -1565,7 +1565,6 @@ void cmGlobalXCodeGenerator::AddDependAndLinkInformation(cmXCodeObject* target)
       linkDirs += this->XCodeEscapePath(libDir->c_str());
       }
     }
-  cmXCodeObject* bset = target->GetObject("buildSettings");
   this->AppendBuildSettingAttribute(target, "LIBRARY_SEARCH_PATHS", linkDirs.c_str());
   // now add the link libraries
   for(std::vector<cmStdString>::iterator lib = linkItems.begin();

+ 1 - 1
Source/cmXCodeObject.h

@@ -19,7 +19,7 @@ public:
                  None
   };
   static const char* PBXTypeNames[];
-  ~cmXCodeObject();
+  virtual ~cmXCodeObject();
   cmXCodeObject(PBXType ptype, Type type);
   Type GetType() { return m_Type;}
   PBXType GetIsA() { return m_IsA;}