From 541654b492a36d0a36862a785ee2fbe8dab77207 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Mon, 4 Jun 2012 18:31:06 -0700 Subject: [PATCH] Remove empty compound expressions generated by CYVar. --- Replace.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Replace.cpp b/Replace.cpp index f51d223..52671c3 100644 --- a/Replace.cpp +++ b/Replace.cpp @@ -137,6 +137,8 @@ CYStatement *CYComment::Replace(CYContext &context) { CYExpression *CYCompound::Replace(CYContext &context) { context.ReplaceAll(expressions_); + if (expressions_ == NULL) + return NULL; return this; } -- 2.50.0