XCode fix - warnings as errors and unused parameter triggers it
authorRichard S. Wright Jr <richard@lunarg.com>
Tue, 26 Sep 2023 22:22:15 +0000 (18:22 -0400)
committerRichard S. Wright Jr <richard@lunarg.com>
Tue, 26 Sep 2023 22:42:03 +0000 (18:42 -0400)
loader/vk_loader_platform.h

index b600e835dbcb4aba5a32aceb1fab7d77375392b1..3a8cafb7e4b62d75a7fb97bcde592d0f07739ac9 100644 (file)
@@ -277,6 +277,7 @@ static inline char *loader_platform_executable_path(char *buffer, size_t size) {
 #elif defined(__APPLE__)
 #if defined(__APPLE_EMBEDDED__)
 static inline char *loader_platform_executable_path(char *buffer, size_t size) {
+    (void)size;
     buffer[0] = '\0';
     return buffer;
 }