summaryrefslogtreecommitdiff
path: root/odb/relational/pgsql
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/relational/pgsql
parent6e374de9ae2f2978f2fca3390aba4ea3f72bfade (diff)
Get rid of GCC 7 case fall-through warnings
Diffstat (limited to 'odb/relational/pgsql')
-rw-r--r--odb/relational/pgsql/context.cxx9
1 files changed, 3 insertions, 6 deletions
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)