WIN: Fix some more uninitialized variable issues
This commit is contained in:
@@ -288,7 +288,7 @@ d3d_blit(int x, int y, int y1, int y2, int w, int h)
|
|||||||
{
|
{
|
||||||
HRESULT hr = D3D_OK;
|
HRESULT hr = D3D_OK;
|
||||||
HRESULT hbsr = D3D_OK;
|
HRESULT hbsr = D3D_OK;
|
||||||
VOID* pVoid;
|
VOID* pVoid = 0;
|
||||||
D3DLOCKED_RECT dr;
|
D3DLOCKED_RECT dr;
|
||||||
RECT r;
|
RECT r;
|
||||||
int yy;
|
int yy;
|
||||||
|
|||||||
@@ -3603,7 +3603,7 @@ static BOOL CALLBACK
|
|||||||
#endif
|
#endif
|
||||||
win_settings_hard_disks_proc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lParam)
|
win_settings_hard_disks_proc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
HWND h;
|
HWND h = INVALID_HANDLE_VALUE;
|
||||||
int old_sel = 0;
|
int old_sel = 0;
|
||||||
int b = 0;
|
int b = 0;
|
||||||
int assign = 0;
|
int assign = 0;
|
||||||
@@ -4646,7 +4646,7 @@ static BOOL CALLBACK
|
|||||||
#endif
|
#endif
|
||||||
win_settings_floppy_drives_proc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lParam)
|
win_settings_floppy_drives_proc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
HWND h;
|
HWND h = INVALID_HANDLE_VALUE;
|
||||||
int i = 0;
|
int i = 0;
|
||||||
int old_sel = 0;
|
int old_sel = 0;
|
||||||
WCHAR szText[256];
|
WCHAR szText[256];
|
||||||
@@ -4781,7 +4781,7 @@ static BOOL CALLBACK
|
|||||||
#endif
|
#endif
|
||||||
win_settings_other_removable_devices_proc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lParam)
|
win_settings_other_removable_devices_proc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
HWND h;
|
HWND h = INVALID_HANDLE_VALUE;
|
||||||
int old_sel = 0;
|
int old_sel = 0;
|
||||||
int b = 0;
|
int b = 0;
|
||||||
int b2 = 0;
|
int b2 = 0;
|
||||||
|
|||||||
@@ -763,7 +763,7 @@ ui_init(int nCmdShow)
|
|||||||
WCHAR title[200];
|
WCHAR title[200];
|
||||||
WNDCLASSEX wincl; /* buffer for main window's class */
|
WNDCLASSEX wincl; /* buffer for main window's class */
|
||||||
MSG messages; /* received-messages buffer */
|
MSG messages; /* received-messages buffer */
|
||||||
HWND hwnd; /* handle for our window */
|
HWND hwnd = 0; /* handle for our window */
|
||||||
HACCEL haccel; /* handle to accelerator table */
|
HACCEL haccel; /* handle to accelerator table */
|
||||||
int bRet;
|
int bRet;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user