--- linuxsampler/trunk/src/scriptvm/tree.cpp 2017/06/27 22:19:19 3293 +++ linuxsampler/trunk/src/scriptvm/tree.cpp 2017/07/15 16:24:59 3311 @@ -16,8 +16,7 @@ namespace LinuxSampler { bool isNoOperation(StatementRef statement) { - NoOperation* noOp = dynamic_cast(&*statement); - return noOp; + return statement->statementType() == STMT_NOOP; } Node::Node() {