summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentation.cxx
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2013-08-14 18:28:28 (GMT)
committerRolf Eike Beer <eike@sf-mail.de>2013-08-14 18:28:28 (GMT)
commit2a7fecc4097708bf2bd5c4d712dca8da2495dbdc (patch)
tree55efcc9a91fbe1376c63b4d93128064db94e3728 /Source/cmDocumentation.cxx
parentd7c1dfb8f88d45d3d91bee0fbb21829d02ae43c2 (diff)
downloadCMake-2a7fecc4097708bf2bd5c4d712dca8da2495dbdc.zip
CMake-2a7fecc4097708bf2bd5c4d712dca8da2495dbdc.tar.gz
CMake-2a7fecc4097708bf2bd5c4d712dca8da2495dbdc.tar.bz2
remove unused local typedef
Fixes this warning from g++ 4.8: CMake/Source/cmDocumentation.cxx:835:23: warning: typedef 'sdoc_t' locally defined but not used [-Wunused-local-typedefs] SDOC_UNKNOWN} sdoc_t; ^
Diffstat (limited to 'Source/cmDocumentation.cxx')
-rw-r--r--Source/cmDocumentation.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx
index 4edacbb..b19d847 100644
--- a/Source/cmDocumentation.cxx
+++ b/Source/cmDocumentation.cxx
@@ -829,10 +829,10 @@ int cmDocumentation::GetStructuredDocFromFile(
std::vector<cmDocumentationEntry>& commands,
cmake* cm)
{
- typedef enum sdoce {
+ enum sdoce {
SDOC_NONE, SDOC_MODULE, SDOC_MACRO, SDOC_FUNCTION, SDOC_VARIABLE,
SDOC_SECTION,
- SDOC_UNKNOWN} sdoc_t;
+ SDOC_UNKNOWN};
int nbDocItemFound = 0;
int docCtxIdx = 0;
std::vector<int> docContextStack(60);