summaryrefslogtreecommitdiff
path: root/src/parsetree.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/parsetree.cc')
-rw-r--r--src/parsetree.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/parsetree.cc b/src/parsetree.cc
index 496167e4..084ffbb8 100644
--- a/src/parsetree.cc
+++ b/src/parsetree.cc
@@ -610,8 +610,6 @@ FsmGraph *Join::walk( Compiler *pd )
Expression::~Expression()
{
switch ( type ) {
- case None:
- break;
case OrType: case IntersectType: case SubtractType:
case StrongSubtractType:
delete expression;
@@ -630,8 +628,6 @@ FsmGraph *Expression::walk( Compiler *pd, bool lastInSeq )
{
FsmGraph *rtnVal = 0;
switch ( type ) {
- case None:
- break;
case OrType: {
/* Evaluate the expression. */
rtnVal = expression->walk( pd, false );