On non-Linux, findBlkIdDevice() has unused parameters

Summary: Add Q_UNUSED() to mark the unused parameters

Test Plan: Builds with fewer warnings on FreeBSD

Differential Revision: https://phabricator.kde.org/D24155
This commit is contained in:
Adriaan de Groot 2019-04-25 14:25:11 +02:00
parent cacdb7b634
commit 1d9b1161d4
1 changed files with 3 additions and 0 deletions

View File

@ -203,6 +203,9 @@ static QString findBlkIdDevice(const char *token, const QString& value)
rval = QString::fromLocal8Bit(c);
free(c);
}
#else
Q_UNUSED(token);
Q_UNUSED(value);
#endif
return rval;