From bc1616e3e45967ccec892d14a9337554238ca332 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 7 Nov 2017 11:57:15 +0200 Subject: Get rid of GCC 7 case fall-through warnings --- odb/pragma.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'odb/pragma.cxx') diff --git a/odb/pragma.cxx b/odb/pragma.cxx index d92039b..a88a9ec 100644 --- a/odb/pragma.cxx +++ b/odb/pragma.cxx @@ -2326,8 +2326,8 @@ handle_pragma (cxx_lexer& l, tt = l.next (tl, &tn); break; } - // Fall throught. } + // Fall through. case CPP_SCOPE: { // We have a potentially scopped enumerator name. @@ -2356,9 +2356,8 @@ handle_pragma (cxx_lexer& l, << p << endl; return; } - - // Fall through. } + // Fall through. case CPP_NUMBER: { switch (TREE_CODE (tn)) -- cgit v1.1