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:
Marko Mäkelä 2022-03-29 19:41:38 +03:00
commit d875c50bf4

View file

@ -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,