[PPL-devel] [GIT] ppl/ppl(master): Avoid commenting out code.

Roberto Bagnara roberto.bagnara at bugseng.com
Sun Dec 14 16:19:36 CET 2014


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

Author: Roberto Bagnara <roberto.bagnara at bugseng.com>
Date:   Sun Dec 14 16:11:44 2014 +0100

Avoid commenting out code.
Fixes violations of rule EP1.17 detected by ECLAIR.

---

 demos/ppl_lcdd/ppl_lcdd.cc |    8 ++++++--
 demos/ppl_pips/ppl_pips.cc |    4 +++-
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/demos/ppl_lcdd/ppl_lcdd.cc b/demos/ppl_lcdd/ppl_lcdd.cc
index c38215e..2fb78b2 100755
--- a/demos/ppl_lcdd/ppl_lcdd.cc
+++ b/demos/ppl_lcdd/ppl_lcdd.cc
@@ -21,8 +21,12 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1307, USA.
 For the most up-to-date information see the Parma Polyhedra Library
 site: http://bugseng.com/products/ppl/ . */
 
-//#define USE_POLKA 1
-//#define USE_POLYLIB 1
+#if 0
+#define USE_POLKA 1
+#endif
+#if 0
+#define USE_POLYLIB 1
+#endif
 
 #if (!defined(USE_PPL) && !defined(USE_POLKA) && !defined(USE_POLYLIB))
 #define USE_PPL 1
diff --git a/demos/ppl_pips/ppl_pips.cc b/demos/ppl_pips/ppl_pips.cc
index 1259d80..6731411 100644
--- a/demos/ppl_pips/ppl_pips.cc
+++ b/demos/ppl_pips/ppl_pips.cc
@@ -21,7 +21,9 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1307, USA.
 For the most up-to-date information see the Parma Polyhedra Library
 site: http://bugseng.com/products/ppl/ . */
 
-//#define USE_PIPLIB 1
+#if 0
+#define USE_PIPLIB 1
+#endif
 
 #if (!defined(USE_PPL) && !defined(USE_PIPLIB))
 #define USE_PPL 1




More information about the PPL-devel mailing list