Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r77501 - trunk/tools/build/v2/engine
From: steven_at_[hidden]
Date: 2012-03-23 12:40:05


Author: steven_watanabe
Date: 2012-03-23 12:40:04 EDT (Fri, 23 Mar 2012)
New Revision: 77501
URL: http://svn.boost.org/trac/boost/changeset/77501

Log:
Fix annoying gcc warning.
Text files modified:
   trunk/tools/build/v2/engine/modules.c | 4 +++-
   1 files changed, 3 insertions(+), 1 deletions(-)

Modified: trunk/tools/build/v2/engine/modules.c
==============================================================================
--- trunk/tools/build/v2/engine/modules.c (original)
+++ trunk/tools/build/v2/engine/modules.c 2012-03-23 12:40:04 EDT (Fri, 23 Mar 2012)
@@ -235,7 +235,9 @@
 {
     if ( m != root_module() && m->rules )
     {
- struct bind_vars_t data = { m, m->num_fixed_variables };
+ struct bind_vars_t data;
+ data.module = m;
+ data.counter = m->num_fixed_variables;
         hashenumerate( m->rules, &bind_variables_for_rule, &data );
         module_set_fixed_variables( m, data.counter );
     }


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