[GIT] ppl/ppl(master): As in previous commit - ensure initialization of variables.

Module: ppl/ppl Branch: master Commit: 5911ab1fcc1919d4fd1411018c4bd58fcd36a1dd URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=5911ab1fcc191...
Author: Patricia Hill p.m.hill@leeds.ac.uk Date: Fri Mar 19 09:47:59 2010 +0000
As in previous commit - ensure initialization of variables.
---
src/BD_Shape.templates.hh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/BD_Shape.templates.hh b/src/BD_Shape.templates.hh index d0dcc78..663ff36 100644 --- a/src/BD_Shape.templates.hh +++ b/src/BD_Shape.templates.hh @@ -806,7 +806,7 @@ BD_Shape<T>::frequency(const Linear_Expression& expr, // Boolean to keep track of a variable `v' in expression `le'. // If we can replace `v' by an expression using variables other // than `v' and are already in `le', then this is set to true. - bool constant_v; + bool constant_v = false;
PPL_DIRTY_TEMP_COEFFICIENT(val_den); val_den = 1;
participants (1)
-
Patricia Hill