mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02:00
MDEV-17841 fixup: GCC -Wmaybe-uninitialized
Let us remove a redundant condition when the S3 plugin is disabled during compilation time.
This commit is contained in:
parent
42609c240d
commit
d875c50bf4
1 changed files with 2 additions and 2 deletions
|
|
@ -296,9 +296,9 @@ MARIA_HA *maria_open(const char *name, int mode, uint open_flags,
|
|||
|
||||
#ifndef WITH_S3_STORAGE_ENGINE
|
||||
DBUG_ASSERT(!s3);
|
||||
#endif /* WITH_S3_STORAGE_ENGINE */
|
||||
|
||||
#else
|
||||
if (!s3)
|
||||
#endif /* WITH_S3_STORAGE_ENGINE */
|
||||
{
|
||||
realpath_err= my_realpath(name_buff, fn_format(org_name, name, "",
|
||||
MARIA_NAME_IEXT,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue