fix: format code
authorDanny Zhu <danny@netflt.com>
Tue, 25 Oct 2022 14:37:56 +0000 (22:37 +0800)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Tue, 25 Oct 2022 15:08:22 +0000 (09:08 -0600)
loader/loader.c

index 00a0273da7c8183a5901d2621fd00984aafaae67..ed4424f239ee94b96a9da08c3ed8cb2268d5157e 100644 (file)
@@ -4307,8 +4307,7 @@ VKAPI_ATTR void VKAPI_CALL loader_layer_destroy_device(VkDevice device, const Vk
     const struct loader_instance *inst = icd_term->this_instance;
 
     destroyFunction(device, pAllocator);
-    if (NULL != dev)
-    {
+    if (NULL != dev) {
         dev->chain_device = NULL;
         dev->icd_device = NULL;
         loader_remove_logical_device(inst, icd_term, dev, pAllocator);