diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2013-08-14 18:28:28 (GMT) |
---|---|---|
committer | Rolf Eike Beer <eike@sf-mail.de> | 2013-08-14 18:28:28 (GMT) |
commit | 2a7fecc4097708bf2bd5c4d712dca8da2495dbdc (patch) | |
tree | 55efcc9a91fbe1376c63b4d93128064db94e3728 /Source/cmDocumentation.cxx | |
parent | d7c1dfb8f88d45d3d91bee0fbb21829d02ae43c2 (diff) | |
download | CMake-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.cxx | 4 |
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); |