QBasicMutex::destroyInternal(): avoid clazy warning about returning void

Says Clazy:

   removed_api.cpp:1291:5: Returning a void expression [clazy-returning-void-expression]

Just drop the return keyword.

Amends bc080a909b8bb67c1fb23afca69682ba86cdf526.

Change-Id: Iccbc343f2dd72a7c75da5e703e8e0722a0c50f31
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
(cherry picked from commit 875aaa39a28dfe9c26f1416f3e16758540b17a27)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Marc Mutz 2025-01-28 18:24:03 +01:00 committed by Qt Cherry-pick Bot
parent bd1cb1547f
commit 36f091f65d

View File

@ -1288,7 +1288,7 @@ QByteArray QMetaEnum::valueToKeys(int value) const
#if QT_CONFIG(thread)
void QBasicMutex::destroyInternal(QMutexPrivate *d)
{
return destroyInternal(static_cast<void *>(d));
destroyInternal(static_cast<void *>(d));
}
#endif