From 89049659bc3a2c9d51fdbb681bd0acbee3ce90fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurko=20Gospodneti=C4=87?= Date: Thu, 2 Aug 2012 09:16:34 +0000 Subject: [PATCH] Minor stylistic changes (added const modifiers in a couple of places). [SVN r79842] --- v2/engine/function.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v2/engine/function.c b/v2/engine/function.c index 790072658..c186273e9 100644 --- a/v2/engine/function.c +++ b/v2/engine/function.c @@ -2297,7 +2297,7 @@ static void compile_parse( PARSE * parse, compiler * c, int result_location ) } else if ( parse->type == PARSE_MODULE ) { - int nested_result = result_location == RESULT_NONE + int const nested_result = result_location == RESULT_NONE ? RESULT_NONE : RESULT_RETURN; compile_parse( parse->left, c, RESULT_STACK ); @@ -2324,7 +2324,7 @@ static void compile_parse( PARSE * parse, compiler * c, int result_location ) } else if ( parse->type == PARSE_LIST ) { - OBJECT * o = parse->string; + OBJECT * const o = parse->string; char const * s = object_str( o ); VAR_PARSE_GROUP * group; current_file = object_str( parse->file );