mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 20:19:53 +00:00
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; ^
This commit is contained in:
parent
d7c1dfb8f8
commit
2a7fecc409
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user