Trim dead code

These conditions can never be reached as the list is filtered with
and and to the value of 0xff, so just drop them, they are misleading.
(Also silences checkers which were screaming of deadcode, for each and
every unmatchable value ...)

License: MIT
Signed-off-by: Simo Sorce <simo@redhat.com>
This commit is contained in:
Simo Sorce 2014-06-09 13:25:09 -04:00 committed by Benjamin Dauvergne
parent be02981ff1
commit b6b458e000
1 changed files with 0 additions and 10 deletions

View File

@ -2842,16 +2842,6 @@ lasso_node_build_xmlNode_from_snippets(LassoNode *node, LassoNodeClass *class, x
break;
case SNIPPET_COLLECT_NAMESPACES:
break;
case SNIPPET_INTEGER:
case SNIPPET_BOOLEAN:
case SNIPPET_LASSO_DUMP:
case SNIPPET_OPTIONAL:
case SNIPPET_OPTIONAL_NEG:
case SNIPPET_ALLOW_TEXT:
case SNIPPET_ANY:
case SNIPPET_KEEP_XMLNODE:
case SNIPPET_PRIVATE:
case SNIPPET_MANDATORY:
case SNIPPET_UNUSED1:
g_assert_not_reached();
}