summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/tools/qstringapisymmetry
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2017-05-03 13:04:12 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2017-05-03 14:04:49 +0000
commit64967461ee86fedc6cecba76ecc7a01bbdcbb6d5 (patch)
treeb39d9ec13da12eabe04cbcdc4dd71b29c0937d37 /tests/auto/corelib/tools/qstringapisymmetry
parent226a20dff8e96a875ab2b1bb3a69b42d7ed8d0e9 (diff)
QVulkanWindow: fix fatal warning on Clang 4
qtbase/src/gui/vulkan/qvulkanwindow.cpp:1882:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] VkClearColorValue clearColor = { 0.0f, 0.0f, 0.0f, 1.0f }; ^~~~~~~~~~~~~~~~~~~~~~ { } 1 error generated. VkClearColorValue is a union, so it wants to be clear that we are initializing only one of the union's members, apparently. (Even though initing more than one wouldn't make sense.) Change-Id: Id4afa3ddc1b4ce7e24e681fb93c0ee9083c41e08 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'tests/auto/corelib/tools/qstringapisymmetry')
0 files changed, 0 insertions, 0 deletions