Fix gcc warnings about unused-value
Fix multiple gcc warnings about statements in accessibleDebug arguments have no effect. Change-Id: I34bf05d911707f0b50592bf76442a3805c560d56 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
This commit is contained in:
parent
85b4f0d2d3
commit
70cb5db4f2
@ -63,7 +63,7 @@ QT_BEGIN_NAMESPACE
|
||||
bool debug_accessibility();
|
||||
# define accessibleDebug !debug_accessibility() ? (void)0 : qDebug
|
||||
#else
|
||||
# define accessibleDebug
|
||||
# define accessibleDebug while (false) qDebug
|
||||
#endif
|
||||
|
||||
#ifndef QT_NO_DEBUG_OUTPUT
|
||||
|
Loading…
Reference in New Issue
Block a user