Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79842 - trunk/tools/build/v2/engine
From: jurko.gospodnetic_at_[hidden]
Date: 2012-08-02 05:16:35


Author: jurko
Date: 2012-08-02 05:16:34 EDT (Thu, 02 Aug 2012)
New Revision: 79842
URL: http://svn.boost.org/trac/boost/changeset/79842

Log:
Minor stylistic changes (added const modifiers in a couple of places).
Text files modified:
   trunk/tools/build/v2/engine/function.c | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/tools/build/v2/engine/function.c
==============================================================================
--- trunk/tools/build/v2/engine/function.c (original)
+++ trunk/tools/build/v2/engine/function.c 2012-08-02 05:16:34 EDT (Thu, 02 Aug 2012)
@@ -2297,7 +2297,7 @@
     }
     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 @@
     }
     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 );


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk