diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2022-02-23 07:18:00 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2022-02-23 07:18:00 +0200 |
commit | 0b849a441afaa5f4ce1ad1af877363d7b5c4a1e2 (patch) | |
tree | 3182051655a273f906ea7d0fd27d3dae25a19341 /storage | |
parent | b5fe7ab8412d63b784ab318f11506954639f1d3c (diff) | |
download | mariadb-git-0b849a441afaa5f4ce1ad1af877363d7b5c4a1e2.tar.gz |
WSREP: Fix GCC 12.0.1 -Wuninitialized
GCC 12 complains if a reference to an uninitialized object is
being passed to a constructor. The mysql_mutex_t, mysql_cond_t
would be initialized in the constructor body, which is executed
after the initializer list. There is no problem passing a pointer
instead of a reference. The wrapper classes do not dereference
the pointers in the constructor or destructor, so there does not
appear to be any correctness issue.
Diffstat (limited to 'storage')
0 files changed, 0 insertions, 0 deletions