From fad31fe74aaf84b1627364b206f7fd49941a39ee Mon Sep 17 00:00:00 2001 From: Ben Clayton Date: Wed, 16 Nov 2022 14:21:03 +0000 Subject: [PATCH] dawn: fix 'control reaches end of non-void function' warning Change-Id: I8820df29d84df9151f7992677ca7e926d14ecb08 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/107240 Kokoro: Kokoro Commit-Queue: Ben Clayton Reviewed-by: Corentin Wallez --- src/dawn/native/vulkan/external_memory/MemoryService.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dawn/native/vulkan/external_memory/MemoryService.cpp b/src/dawn/native/vulkan/external_memory/MemoryService.cpp index 0db58f4a86..02361e21c3 100644 --- a/src/dawn/native/vulkan/external_memory/MemoryService.cpp +++ b/src/dawn/native/vulkan/external_memory/MemoryService.cpp @@ -52,6 +52,7 @@ bool Service::RequiresDedicatedAllocation(const ExternalImageDescriptorVk* descr // for prefersDA. return dedicatedRequirements.prefersDedicatedAllocation; } + DAWN_UNREACHABLE(); } } // namespace dawn::native::vulkan::external_memory