Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80250 - trunk/tools/build/v2/engine
From: jurko.gospodnetic_at_[hidden]
Date: 2012-08-27 06:06:42


Author: jurko
Date: 2012-08-27 06:06:41 EDT (Mon, 27 Aug 2012)
New Revision: 80250
URL: http://svn.boost.org/trac/boost/changeset/80250

Log:
Internal Boost Jam cleanup - minor stylistic changes (added variable const modifiers).
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-27 06:06:41 EDT (Mon, 27 Aug 2012)
@@ -218,7 +218,7 @@
     static STACK result;
     if ( !stack )
     {
- int size = 1 << 21;
+ int const size = 1 << 21;
         stack = BJAM_MALLOC( size );
         result.data = (char *)stack + size;
     }
@@ -252,7 +252,7 @@
 
 LIST * stack_pop( STACK * s )
 {
- LIST * result = *(LIST * *)s->data;
+ LIST * const result = *(LIST * *)s->data;
     stack_deallocate( s, sizeof( LIST * ) );
     return result;
 }


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