summaryrefslogtreecommitdiff
path: root/sql/sql_string.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2018-05-01 01:10:37 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2018-05-01 16:52:19 +0300
commit2b27ac8282ed81b1b0c65e748d66498b81b85cee (patch)
tree7c4b94e0507fe71392a045477fabdcfbcd80b802 /sql/sql_string.h
parent87b0434e0f6ddcf0801355eb08d39c4fd02dd4e9 (diff)
downloadmariadb-git-2b27ac8282ed81b1b0c65e748d66498b81b85cee.tar.gz
Fix many -Wunused-parameter
Remove unused InnoDB function parameters and functions. i_s_sys_virtual_fill_table(): Do not allocate heap memory. mtr_is_block_fix(): Replace with mtr_memo_contains(). mtr_is_page_fix(): Replace with mtr_memo_contains_page().
Diffstat (limited to 'sql/sql_string.h')
-rw-r--r--sql/sql_string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_string.h b/sql/sql_string.h
index afbfa157a2b..e30132a427d 100644
--- a/sql/sql_string.h
+++ b/sql/sql_string.h
@@ -190,7 +190,7 @@ public:
{ /* never called */ }
static void operator delete[](void *ptr, size_t size)
{ TRASH_FREE(ptr, size); }
- static void operator delete[](void *ptr, MEM_ROOT *mem_root)
+ static void operator delete[](void *, MEM_ROOT *)
{ /* never called */ }
~String() { free(); }