Browse Source

cmPolicies: Remove unused static data.

Stephen Kelly 10 years ago
parent
commit
fd0aa7434b
2 changed files with 0 additions and 5 deletions
  1. 0 4
      Source/cmPolicies.cxx
  2. 0 1
      Source/cmPolicies.h

+ 0 - 4
Source/cmPolicies.cxx

@@ -9,10 +9,6 @@
 #include <queue>
 #include <assert.h>
 
-const char* cmPolicies::PolicyStatusNames[] = {
-  "OLD", "WARN", "NEW", "REQUIRED_IF_USED", "REQUIRED_ALWAYS"
-};
-
 class cmPolicy
 {
 public:

+ 0 - 1
Source/cmPolicies.h

@@ -41,7 +41,6 @@ public:
     REQUIRED_IF_USED,
     REQUIRED_ALWAYS ///< Issue an error unless user sets policy status to NEW.
   };
-  static const char* PolicyStatusNames[];
 
   /// Policy identifiers
   enum PolicyID