diff options
author | Monty <monty@mariadb.org> | 2020-01-29 16:41:04 +0200 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2020-01-29 23:23:55 +0200 |
commit | 4d61f1247a1b6a86570cb03d3450930a78d689b3 (patch) | |
tree | e7b98495425ae73591c8c1f3cf81793196aca3ea /strings/json_lib.c | |
parent | cd2c0e013ccb5f9b009743dfd7188585a539d9b5 (diff) | |
download | mariadb-git-4d61f1247a1b6a86570cb03d3450930a78d689b3.tar.gz |
Fixed compiler warnings from gcc 7.4.1
- Fixed possible error in rocksdb/rdb_datadic.cc
Diffstat (limited to 'strings/json_lib.c')
-rw-r--r-- | strings/json_lib.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/strings/json_lib.c b/strings/json_lib.c index bb8c15ee0c1..8a77c41d015 100644 --- a/strings/json_lib.c +++ b/strings/json_lib.c @@ -1995,9 +1995,13 @@ err_return: } -enum json_types json_get_object_nkey(const char *js,const char *js_end, int nkey, - const char **keyname, const char **keyname_end, - const char **value, int *value_len) +enum json_types json_get_object_nkey(const char *js __attribute__((unused)), + const char *js_end __attribute__((unused)), + int nkey __attribute__((unused)), + const char **keyname __attribute__((unused)), + const char **keyname_end __attribute__((unused)), + const char **value __attribute__((unused)), + int *value_len __attribute__((unused))) { return JSV_NOTHING; } |