diff --git a/src/map.cpp b/src/map.cpp index 4af27c3..b7a7ec8 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -47,6 +47,7 @@ namespace YAML switch(pScanner->peek().type) { case TT_BLOCK_MAP_START: ParseBlock(pScanner, state); break; case TT_FLOW_MAP_START: ParseFlow(pScanner, state); break; + default: break; } } diff --git a/src/node.cpp b/src/node.cpp index 23df5a3..cce1d7e 100644 --- a/src/node.cpp +++ b/src/node.cpp @@ -64,6 +64,8 @@ namespace YAML m_pContent = new Map; m_pContent->Parse(pScanner, state); break; + default: + break; } } diff --git a/src/regex.cpp b/src/regex.cpp index 9c0e217..ea6e4ee 100644 --- a/src/regex.cpp +++ b/src/regex.cpp @@ -74,6 +74,7 @@ namespace YAML case REGEX_AND: m_pOp = new AndOperator; break; case REGEX_NOT: m_pOp = new NotOperator; break; case REGEX_SEQ: m_pOp = new SeqOperator; break; + default: break; } } diff --git a/src/sequence.cpp b/src/sequence.cpp index df4a201..f2272ba 100644 --- a/src/sequence.cpp +++ b/src/sequence.cpp @@ -57,6 +57,7 @@ namespace YAML case TT_BLOCK_SEQ_START: ParseBlock(pScanner, state); break; case TT_BLOCK_ENTRY: ParseImplicit(pScanner, state); break; case TT_FLOW_SEQ_START: ParseFlow(pScanner, state); break; + default: break; } }