From 2b064b272a3000fb586eae2ab2965b2156714c9b Mon Sep 17 00:00:00 2001 From: Ilia Filippov Date: Tue, 27 May 2014 19:24:21 +0400 Subject: [PATCH] deleting print from 'safe_for_all_mask_off' functions --- ast.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ast.cpp b/ast.cpp index 19eff152..00e81aa5 100644 --- a/ast.cpp +++ b/ast.cpp @@ -389,6 +389,11 @@ lCheckAllOffSafety(ASTNode *node, void *data) { return false; } + if (dynamic_cast(node) != NULL) { + *okPtr = false; + return false; + } + if (dynamic_cast(node) != NULL || dynamic_cast(node) != NULL) { // We definitely don't want to run the uniform variants of these if