aboutsummaryrefslogtreecommitdiff
path: root/layers/unique_objects.cpp
diff options
context:
space:
mode:
authorKarl Schultz <karl@lunarg.com>2017-01-20 13:19:20 -0700
committerKarl Schultz <karl@lunarg.com>2017-01-27 15:18:16 -0800
commita26154680ee443216d7346ea2f44a1205cc251f9 (patch)
tree6dce9fba9119651d86431f4ef847309c4e98775c /layers/unique_objects.cpp
parentcba7afce6be07dd968a59de2245c412273c76b99 (diff)
downloadusermoji-a26154680ee443216d7346ea2f44a1205cc251f9.tar.xz
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
Diffstat (limited to 'layers/unique_objects.cpp')
-rw-r--r--layers/unique_objects.cpp1
1 files changed, 0 insertions, 1 deletions
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",