mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-06 04:03:27 +03: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:
1 parent
d7c1dfb8f8
commit
2a7fecc409
1 file changed
+2
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user