[PPL-devel] [GIT] ppl/ppl(master): Added a default label to switch.

Patricia Hill p.m.hill at leeds.ac.uk
Fri Feb 3 18:00:59 CET 2012


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

Author: Patricia Hill <p.m.hill at leeds.ac.uk>
Date:   Fri Feb  3 16:58:13 2012 +0000

Added a default label to switch.

---

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

diff --git a/src/Grid_Generator.inlines.hh b/src/Grid_Generator.inlines.hh
index e691739..14379f6 100644
--- a/src/Grid_Generator.inlines.hh
+++ b/src/Grid_Generator.inlines.hh
@@ -76,8 +76,8 @@ Grid_Generator::type() const {
   case Generator::LINE:
     return LINE;
   case Generator::CLOSURE_POINT:
+  default:
     PPL_UNREACHABLE;
-    return POINT;
   }
 }
 




More information about the PPL-devel mailing list