diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-07-24 09:35:58 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-07-24 09:35:58 +0000 |
commit | bc58e5d7345217fa0fbfa0d9c577ee10c7bd94db (patch) | |
tree | e76c9d1daa7b18f9383200459afe40804af83dbf /staging_vespalib | |
parent | 737979601f25ace7e5444dd3c925329c5a0a8b6d (diff) |
Add [[falltrhough]] for gcc 7
Diffstat (limited to 'staging_vespalib')
-rw-r--r-- | staging_vespalib/src/vespa/vespalib/util/jsonwriter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/staging_vespalib/src/vespa/vespalib/util/jsonwriter.cpp b/staging_vespalib/src/vespa/vespalib/util/jsonwriter.cpp index a80f8b9164d..ebeda4f1b8b 100644 --- a/staging_vespalib/src/vespa/vespalib/util/jsonwriter.cpp +++ b/staging_vespalib/src/vespa/vespalib/util/jsonwriter.cpp @@ -56,8 +56,10 @@ JSONWriter::quote(const char * str, size_t len) case '\"': case '\\': v[j++] = '\\'; + [[fallthrough]]; default: v[j++] = str[i]; + break; } } v[j++] = '\"'; |