diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2022-02-23 06:00:01 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2022-02-23 06:00:01 +0200 |
commit | 8b7abe21e041d616ddb5a68652bc96e97b3eed44 (patch) | |
tree | 1bcf50a89eca40aecad8ce167c76858332e2ca94 | |
parent | fac9224d85e879ff06e549c18446375d850ef83a (diff) | |
download | mariadb-git-8b7abe21e041d616ddb5a68652bc96e97b3eed44.tar.gz |
MDEV-23888 fixup: GCC 12 -Wunused-value
-rw-r--r-- | storage/innobase/handler/ha_innodb.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc index 0c0900bd744..48a1944f0e1 100644 --- a/storage/innobase/handler/ha_innodb.cc +++ b/storage/innobase/handler/ha_innodb.cc @@ -2811,7 +2811,7 @@ innobase_trx_init( while holding lock_sys.mutex, by lock_rec_enqueue_waiting(), will not end up acquiring LOCK_global_system_variables in intern_sys_var_ptr(). */ - THDVAR(thd, lock_wait_timeout); + (void) THDVAR(thd, lock_wait_timeout); trx->check_foreigns = !thd_test_options( thd, OPTION_NO_FOREIGN_KEY_CHECKS); |