From a26154680ee443216d7346ea2f44a1205cc251f9 Mon Sep 17 00:00:00 2001 From: Karl Schultz Date: Fri, 20 Jan 2017 13:19:20 -0700 Subject: build: Enable declaration hiding warning on Windows Fixes #1388 Turn on the Windows compiler option (4456) to report hidden declarations. Fix all places where this was occurring. Change-Id: I3346d87da8b70d6299c206fcac68520a091ed1a6 --- layers/unique_objects.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'layers/unique_objects.cpp') diff --git a/layers/unique_objects.cpp b/layers/unique_objects.cpp index f973ec56..dfd35f27 100644 --- a/layers/unique_objects.cpp +++ b/layers/unique_objects.cpp @@ -103,7 +103,6 @@ static void checkInstanceRegisterExtensions(const VkInstanceCreateInfo *pCreateI #endif // Check for recognized instance extensions - layer_data *instance_data = get_my_data_ptr(get_dispatch_key(instance), layer_data_map); if (!white_list(pCreateInfo->ppEnabledExtensionNames[i], kUniqueObjectsSupportedInstanceExtensions)) { log_msg(instance_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT, 0, __LINE__, VALIDATION_ERROR_UNDEFINED, "UniqueObjects", -- cgit v1.2.3