[MDEV-21177] log_event_client.cc:1167:14 warning: 'swap_buff2' may be used uninitialized Created: 2019-11-29  Updated: 2023-04-27

Status: Open
Project: MariaDB Server
Component/s: Replication
Affects Version/s: 10.5
Fix Version/s: 10.4, 10.5

Type: Bug Priority: Minor
Reporter: Andrei Elkin Assignee: Brandon Nesterenko
Resolution: Unresolved Votes: 0
Labels: None


 Description   

/mariadb/10.5/sql/log_event_client.cc:1167:14: warning: 'swap_buff2' may be used uninitialized in this function [-Wmaybe-uninitialized]
1167 | my_free(swap_buff2);

The piece of code according to marko looks like was added in d75d8631ed2d (10.2.4) originally.


Generated at Thu Feb 08 09:05:10 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.