From 2e70f7b112cd96377d5dc84a1b26945590337fc3 Mon Sep 17 00:00:00 2001 From: darkstar Date: Thu, 22 Feb 2018 00:34:39 +0100 Subject: [PATCH] WIN: Fix another potentially uninitialized variable --- src/win/win_d3d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win/win_d3d.cpp b/src/win/win_d3d.cpp index 2b87e1e..2c85469 100644 --- a/src/win/win_d3d.cpp +++ b/src/win/win_d3d.cpp @@ -180,7 +180,7 @@ d3d_blit_fs(int x, int y, int y1, int y2, int w, int h) { HRESULT hr = D3D_OK; HRESULT hbsr = D3D_OK; - VOID* pVoid; + VOID* pVoid = 0; D3DLOCKED_RECT dr; RECT w_rect; int yy;