[PPL-devel] [GIT] ppl/ppl(master): Missing variable initialization added.

Patricia Hill p.m.hill at leeds.ac.uk
Fri Mar 19 10:14:20 CET 2010


Module: ppl/ppl
Branch: master
Commit: 9da0e46c90e0eb2d8d0b6e0e54cfd81e793a851d
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=9da0e46c90e0eb2d8d0b6e0e54cfd81e793a851d

Author: Patricia Hill <p.m.hill at leeds.ac.uk>
Date:   Fri Mar 19 09:13:09 2010 +0000

Missing variable initialization added.

---

 src/Octagonal_Shape.templates.hh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Octagonal_Shape.templates.hh b/src/Octagonal_Shape.templates.hh
index 49c0dc3..d0034a7 100644
--- a/src/Octagonal_Shape.templates.hh
+++ b/src/Octagonal_Shape.templates.hh
@@ -1324,7 +1324,7 @@ Octagonal_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;
 
   typedef typename OR_Matrix<N>::const_row_iterator Row_Iterator;
   typedef typename OR_Matrix<N>::const_row_reference_type Row_Reference;




More information about the PPL-devel mailing list