[host] fix compiler warnings

This commit is contained in:
Geoffrey McRae committed 2019-02-07 14:43:18 +11:00
1 parent 18634fa805
commit 037ea5b1fc
2 files changed
+2 -5

No files matched your search

-3
View File
@@ -723,7 +723,6 @@ GrabStatus Capture::DXGI::DiscardFrame()
GrabStatus Capture::DXGI::GrabFrameRaw(FrameInfo & frame)
{
GrabStatus result;
D3D11_MAPPED_SUBRESOURCE mapping;
HRESULT status;
@@ -746,8 +745,6 @@ GrabStatus Capture::DXGI::GrabFrameRaw(FrameInfo & frame)
GrabStatus Capture::DXGI::GrabFrameYUV420(struct FrameInfo & frame)
{
GrabStatus result;
uint8_t * data = (uint8_t *)frame.buffer;
size_t remain = frame.bufferSize;
for(int i = 0; i < 3; ++i)