aboutsummaryrefslogtreecommitdiff
path: root/odb/pragma.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-11-07 11:57:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-11-07 11:57:15 +0200
commitbc1616e3e45967ccec892d14a9337554238ca332 (patch)
treed7783ea36e2c9423d90809bca715537bee99c285 /odb/pragma.cxx
parent6e374de9ae2f2978f2fca3390aba4ea3f72bfade (diff)
Get rid of GCC 7 case fall-through warnings
Diffstat (limited to 'odb/pragma.cxx')
-rw-r--r--odb/pragma.cxx5
1 files changed, 2 insertions, 3 deletions
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))