wasm: fix warning in createDirectoryWithParents for "/"
Change-Id: I6cd17ef9dd7ba26cbb8969817f2bcf83cc0ec24d Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
This commit is contained in:
parent
3f5023aada
commit
6295e78ade
@ -1198,7 +1198,7 @@ auto QFileSystemEngine::cloneFile(int srcfd, int dstfd, const QFileSystemMetaDat
|
||||
static QSystemError createDirectoryWithParents(const QByteArray &path, mode_t mode)
|
||||
{
|
||||
#ifdef Q_OS_WASM
|
||||
if (path == '/')
|
||||
if (path == "/")
|
||||
return {};
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user