loader: Fix unused variable compiler warning
authorLenny Komow <lenny@lunarg.com>
Tue, 11 Sep 2018 15:33:03 +0000 (09:33 -0600)
committerLenny Komow <lenny@lunarg.com>
Tue, 11 Sep 2018 15:33:03 +0000 (09:33 -0600)
Change-Id: I331c532e55034f004b55e2738214c0301a08375e

loader/loader.c

index 8ad78b13b53abde2a7fa3b9760dd95371064bca0..4437adc0242884a369d9a3235b67801e0ab171a7 100644 (file)
@@ -4885,7 +4885,6 @@ VkResult loader_create_device_chain(const struct loader_physical_device_tramp *p
         for (int32_t i = dev->expanded_activated_layer_list.count - 1; i >= 0; i--) {
             struct loader_layer_properties *layer_prop = &dev->expanded_activated_layer_list.list[i];
             loader_platform_dl_handle lib_handle;
-            bool functions_in_interface = false;
 
             lib_handle = loader_open_layer_lib(inst, "device", layer_prop);
             if (!lib_handle) {