From 0d7be70b569e44fe5f48910413cf9519620baa88 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Wed, 27 Jan 2021 01:21:06 +1100 Subject: [PATCH] [host] dxgi: fix maybe uninitialized warning --- host/platform/Windows/capture/DXGI/src/dxgi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/platform/Windows/capture/DXGI/src/dxgi.c b/host/platform/Windows/capture/DXGI/src/dxgi.c index 9b17dcd4..0a4014e5 100644 --- a/host/platform/Windows/capture/DXGI/src/dxgi.c +++ b/host/platform/Windows/capture/DXGI/src/dxgi.c @@ -743,7 +743,7 @@ static CaptureResult dxgi_capture(void) assert(this); assert(this->initialized); - Texture * tex; + Texture * tex = NULL; CaptureResult result; HRESULT status; DXGI_OUTDUPL_FRAME_INFO frameInfo;