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:
parent
34a4acfb14
commit
875aaa39a2
@ -1286,7 +1286,7 @@ QByteArray QMetaEnum::valueToKeys(int value) const
|
|||||||
#if QT_CONFIG(thread)
|
#if QT_CONFIG(thread)
|
||||||
void QBasicMutex::destroyInternal(QMutexPrivate *d)
|
void QBasicMutex::destroyInternal(QMutexPrivate *d)
|
||||||
{
|
{
|
||||||
return destroyInternal(static_cast<void *>(d));
|
destroyInternal(static_cast<void *>(d));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user