diff options
author | Eric Lemanissier <eric.lemanissier@gmail.com> | 2017-09-26 11:45:56 +0200 |
---|---|---|
committer | Eric Lemanissier <eric.lemanissier@gmail.com> | 2017-09-27 07:04:02 +0000 |
commit | 3d0fa4d4fb870450f6e77d7248db91984ddf8b50 (patch) | |
tree | 8445cd4b65e33b9b5bb79cf6d3e469b355dcbc29 /src/tools/uic/utils.h | |
parent | 33693473d4bf6b28bee2d5fe740633d6867c26af (diff) |
moc: remove useless cast in qt_static_metacall generated code
_a[1] was reinterpret_casted twice in a row, which triggers
clang's warning undefined-reinterpret-cast:
"dereference of type '_t *' (aka ...) that was reinterpret_cast
from type 'void **' has undefined behavior "
only the last reinterpret_cast is kept
Change-Id: I71d52c5ff08c674003aec29f8a907c90905c0d4c
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/tools/uic/utils.h')
0 files changed, 0 insertions, 0 deletions