Commit d875c50b authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-17841 fixup: GCC -Wmaybe-uninitialized

Let us remove a redundant condition when the S3 plugin is disabled
during compilation time.
parent 42609c24
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment