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.

Pick-to: 6.9
Change-Id: Iccbc343f2dd72a7c75da5e703e8e0722a0c50f31
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
Marc Mutz 2025-01-28 18:24:03 +01:00
parent 34a4acfb14
commit 875aaa39a2

View File

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