From 4d61f1247a1b6a86570cb03d3450930a78d689b3 Mon Sep 17 00:00:00 2001 From: Monty Date: Wed, 29 Jan 2020 16:41:04 +0200 Subject: Fixed compiler warnings from gcc 7.4.1 - Fixed possible error in rocksdb/rdb_datadic.cc --- strings/ctype-bin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'strings/ctype-bin.c') diff --git a/strings/ctype-bin.c b/strings/ctype-bin.c index e4bd6d2b5c2..0324c0665e2 100644 --- a/strings/ctype-bin.c +++ b/strings/ctype-bin.c @@ -219,7 +219,7 @@ static size_t my_case_str_bin(CHARSET_INFO *cs __attribute__((unused)), static size_t my_case_bin(CHARSET_INFO *cs __attribute__((unused)), const char *src, size_t srclen, - char *dst, size_t dstlen) + char *dst, size_t dstlen __attribute__((unused))) { DBUG_ASSERT(srclen <= dstlen); memcpy(dst, src, srclen); -- cgit v1.2.1