[PPL-devel] [GIT] ppl/ppl(master): Useless returns removed.

Roberto Bagnara bagnara at cs.unipr.it
Fri May 1 11:13:31 CEST 2009


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

Author: Roberto Bagnara <bagnara at cs.unipr.it>
Date:   Fri May  1 10:44:09 2009 +0200

Useless returns removed.

---

 src/BD_Shape.inlines.hh        |    2 --
 src/Grid.inlines.hh            |    1 -
 src/Octagonal_Shape.inlines.hh |    2 --
 3 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/BD_Shape.inlines.hh b/src/BD_Shape.inlines.hh
index f429c0b..0864b2e 100644
--- a/src/BD_Shape.inlines.hh
+++ b/src/BD_Shape.inlines.hh
@@ -414,8 +414,6 @@ BD_Shape<T>::is_discrete() const {
 template <typename T>
 inline void
 BD_Shape<T>::topological_closure_assign() {
-  // Nothing to be done.
-  return;
 }
 
 /*! \relates BD_Shape */
diff --git a/src/Grid.inlines.hh b/src/Grid.inlines.hh
index a99604a..b760c94 100644
--- a/src/Grid.inlines.hh
+++ b/src/Grid.inlines.hh
@@ -364,7 +364,6 @@ Grid::strictly_contains(const Grid& y) const {
 
 inline void
 Grid::topological_closure_assign() {
-  return;
 }
 
 } // namespace Parma_Polyhedra_Library
diff --git a/src/Octagonal_Shape.inlines.hh b/src/Octagonal_Shape.inlines.hh
index 2794a8f..b70391f 100644
--- a/src/Octagonal_Shape.inlines.hh
+++ b/src/Octagonal_Shape.inlines.hh
@@ -303,8 +303,6 @@ Octagonal_Shape<T>::is_topologically_closed() const {
 template <typename T>
 inline void
 Octagonal_Shape<T>::topological_closure_assign() {
-  // Nothing to be done.
-  return;
 }
 
 /*! \relates Octagonal_Shape */




More information about the PPL-devel mailing list