aboutsummaryrefslogtreecommitdiff
path: root/migrate/migrate.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-10-27 16:32:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-10-27 16:32:08 +0200
commit5bf2dd09110f257acc730eab71301e1dede1c710 (patch)
tree291da1bd5a9aac4cdb50efe0c4884bebf75e4d82 /migrate/migrate.cxx
parent758b66cf9ce32c44b37cd7e2c65b71d89c0240bf (diff)
Suppress (potential) bogus GCC 12 -Wrestrict warnings
Diffstat (limited to 'migrate/migrate.cxx')
-rw-r--r--migrate/migrate.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/migrate/migrate.cxx b/migrate/migrate.cxx
index 172c374..090fcac 100644
--- a/migrate/migrate.cxx
+++ b/migrate/migrate.cxx
@@ -115,7 +115,7 @@ schema (const char* s, string name)
string kw;
i >> kw;
- statement += " " + kw;
+ statement += ' ' + kw;
if (strcasecmp (kw.c_str (), "FUNCTION") == 0)
{
@@ -133,7 +133,7 @@ schema (const char* s, string name)
else if (strcasecmp (kw.c_str (), "FOREIGN") == 0)
{
i >> kw;
- statement += " " + kw;
+ statement += ' ' + kw;
valid = strcasecmp (kw.c_str (), "TABLE") == 0;
// Fall through.