[GIT] ppl/ppl(master): Added a default label to switch.
Module: ppl/ppl Branch: master Commit: a190d3da98795c4e4a696746633e08fe8f335baa URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=a190d3da98795... Author: Patricia Hill <p.m.hill@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; } }
participants (1)
-
Patricia Hill