Commit f661686c by Frank Henigman Committed by Commit Bot

Fix gyp/gcc build.

Gcc complains about an unused variable. Adjust a #include to work with the gyp build. BUG=none Change-Id: Ia94abf70f3a9bb7952eb53d1f0a3cfcca5df0836 Reviewed-on: https://chromium-review.googlesource.com/867655Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org> Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Commit-Queue: Frank Henigman <fjhenigman@chromium.org>
parent 4747414e
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#include <memory> #include <memory>
#include "testing/gtest/include/gtest/gtest.h" #include "gtest/gtest.h"
#define EXPECT_ALIGNED(ptr, align) EXPECT_EQ(0u, reinterpret_cast<uintptr_t>(ptr) & (align - 1)) #define EXPECT_ALIGNED(ptr, align) EXPECT_EQ(0u, reinterpret_cast<uintptr_t>(ptr) & (align - 1))
...@@ -42,4 +42,4 @@ TEST(AlignedMemoryTest, DynamicAllocation) ...@@ -42,4 +42,4 @@ TEST(AlignedMemoryTest, DynamicAllocation)
AlignedFree(p); AlignedFree(p);
} }
} // namespace base } // namespace base
\ No newline at end of file
...@@ -233,6 +233,7 @@ vk::Error WindowSurfaceVk::initializeImpl(RendererVk *renderer) ...@@ -233,6 +233,7 @@ vk::Error WindowSurfaceVk::initializeImpl(RendererVk *renderer)
uint32_t presentQueue = 0; uint32_t presentQueue = 0;
ANGLE_TRY_RESULT(renderer->selectPresentQueueForSurface(mSurface), presentQueue); ANGLE_TRY_RESULT(renderer->selectPresentQueueForSurface(mSurface), presentQueue);
(void) presentQueue;
const VkPhysicalDevice &physicalDevice = renderer->getPhysicalDevice(); const VkPhysicalDevice &physicalDevice = renderer->getPhysicalDevice();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment