layers: Remove unused var to fix android build
authorTobin Ehlis <tobine@google.com>
Fri, 1 Jul 2016 14:49:50 +0000 (08:49 -0600)
committerTobin Ehlis <tobine@google.com>
Fri, 1 Jul 2016 16:11:35 +0000 (10:11 -0600)
layers/core_validation.cpp

index 03d4850..6a84d2b 100644 (file)
@@ -9180,7 +9180,6 @@ static void TransitionSubpassLayouts(layer_data *dev_data, GLOBAL_CB_NODE *pCB,
     if (!framebuffer)
         return;
 
-    const safe_VkFramebufferCreateInfo &framebufferInfo = framebuffer->createInfo;
     const VkSubpassDescription &subpass = renderPass->pCreateInfo->pSubpasses[subpass_index];
     for (uint32_t j = 0; j < subpass.inputAttachmentCount; ++j) {
         TransitionAttachmentRefLayout(dev_data, pCB, framebuffer, subpass.pInputAttachments[j]);