summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2022-02-23 07:18:00 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2022-02-23 07:18:00 +0200
commit0b849a441afaa5f4ce1ad1af877363d7b5c4a1e2 (patch)
tree3182051655a273f906ea7d0fd27d3dae25a19341 /storage
parentb5fe7ab8412d63b784ab318f11506954639f1d3c (diff)
downloadmariadb-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