QFilesystemEngine: fix unused variable warning-turned-error on WASM
... and, presumably, Integrity. Change-Id: I54d35fd11b7df139022e2575c29b2d832f80f761 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
2f33e030b8
commit
eaf2e6daf6
@ -822,6 +822,8 @@ QString QFileSystemEngine::resolveUserName(uint userId)
|
||||
#endif
|
||||
if (pw)
|
||||
return QFile::decodeName(QByteArray(pw->pw_name));
|
||||
#else // Integrity || WASM
|
||||
Q_UNUSED(userId);
|
||||
#endif
|
||||
return QString();
|
||||
}
|
||||
@ -859,6 +861,8 @@ QString QFileSystemEngine::resolveGroupName(uint groupId)
|
||||
#endif
|
||||
if (gr)
|
||||
return QFile::decodeName(QByteArray(gr->gr_name));
|
||||
#else // Integrity || WASM
|
||||
Q_UNUSED(groupId);
|
||||
#endif
|
||||
return QString();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user