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/relational/pgsql/context.cxx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'odb/relational/pgsql/context.cxx') diff --git a/odb/relational/pgsql/context.cxx b/odb/relational/pgsql/context.cxx index 7f900c7..4b4b3d2 100644 --- a/odb/relational/pgsql/context.cxx +++ b/odb/relational/pgsql/context.cxx @@ -495,10 +495,9 @@ namespace relational } } - // Fall through. - // s = parse_name; } + // Fall through. case parse_name: { if (tt == sql_token::t_identifier) @@ -643,10 +642,9 @@ namespace relational : "expected PostgreSQL type name"); } - // Fall through. - // s = parse_range; } + // Fall through. case parse_range: { if (t.punctuation () == sql_token::p_lparen) @@ -691,10 +689,9 @@ namespace relational continue; } - // Fall through. - // s = parse_suffix; } + // Fall through. case parse_suffix: { if (r.type == sql_type::TIME || r.type == sql_type::TIMESTAMP) -- cgit v1.1