diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-08-11 15:48:58 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-08-11 15:58:16 +0300 |
commit | 31aef3ae99dff6b7154cf288b3dc508d367f19f8 (patch) | |
tree | 023c7584efc6a06809c925593bfe53842df7dc4f /extra | |
parent | 57d1a5fa8ed925b03d28aea3fab82de0823e68a8 (diff) | |
download | mariadb-git-31aef3ae99dff6b7154cf288b3dc508d367f19f8.tar.gz |
Fix GCC 10.2.0 -Og -Wmaybe-uninitialized
For some reason, GCC emits more -Wmaybe-uninitialized warnings
when using the flag -Og than when using -O2. Many of the warnings
look genuine.
Diffstat (limited to 'extra')
-rw-r--r-- | extra/mariabackup/backup_copy.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/mariabackup/backup_copy.cc b/extra/mariabackup/backup_copy.cc index 6f9452ef76c..1cde4a4cf13 100644 --- a/extra/mariabackup/backup_copy.cc +++ b/extra/mariabackup/backup_copy.cc @@ -1786,7 +1786,7 @@ apply_log_finish() bool copy_back() { - bool ret; + bool ret = false; datadir_iter_t *it = NULL; datadir_node_t node; char *dst_dir; |