From 4bc584419ec85bfbc1108d45993d730b5c5944b5 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Mon, 5 Sep 2005 09:17:59 -0400 Subject: [PATCH] ENH: fix warnings --- Source/cmGlobalXCodeGenerator.cxx | 1 - Source/cmXCodeObject.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index e106a8201..3efc1c5e4 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/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::iterator lib = linkItems.begin(); diff --git a/Source/cmXCodeObject.h b/Source/cmXCodeObject.h index f759e7f9b..4bee8992d 100644 --- a/Source/cmXCodeObject.h +++ b/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;}