From b454858647a9f6f8b90cbe06dc424dfc22b64dec Mon Sep 17 00:00:00 2001 From: Vladislav Abrosimov Date: Thu, 1 May 2025 19:48:47 +0300 Subject: [PATCH] delete zero from directive --- src/ProjectParameters/projectParameters.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ProjectParameters/projectParameters.cpp b/src/ProjectParameters/projectParameters.cpp index 5060983..af7c038 100644 --- a/src/ProjectParameters/projectParameters.cpp +++ b/src/ProjectParameters/projectParameters.cpp @@ -408,9 +408,8 @@ void findParameters(ResultSet& foundParameters, SgVariableSymb* var_symb = new SgVariableSymb(var_name.c_str()); SgVarRefExp* var = new SgVarRefExp(var_symb); - SgValueExp* zero = new SgValueExp(1337); SgExprListExp* ex = new SgExprListExp(); - auto assgn_op = new SgExpression(ASSGN_OP, var, zero); + auto assgn_op = new SgExpression(ASSGN_OP, var, NULL); ex->setLhs(assgn_op); SgExpression* parameter_op = new SgExpression(SPF_PARAMETER_OP, ex);