mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
Fixed warning C6001: Using uninitialized memory 'devName'.
This commit is contained in:
@@ -143,7 +143,7 @@ static SDL_bool SDL_IsXInputDevice(Uint16 vendor, Uint16 product)
|
||||
|
||||
for (i = 0; i < raw_device_count; i++) {
|
||||
RID_DEVICE_INFO rdi;
|
||||
char devName[MAX_PATH];
|
||||
char devName[MAX_PATH] = { 0 };
|
||||
UINT rdiSize = sizeof(rdi);
|
||||
UINT nameSize = SDL_arraysize(devName);
|
||||
DEVINST devNode;
|
||||
|
Reference in New Issue
Block a user