mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-08-29 01:51:37 +00:00
hidapi: silence redefinition warnings
This commit is contained in:
committed by
Sam Lantinga
parent
f082c68b2f
commit
3ecdbf27cc
@@ -598,7 +598,7 @@ int HID_API_EXPORT hid_init(void)
|
||||
/* Set the locale if it's not set. */
|
||||
locale = setlocale(LC_CTYPE, NULL);
|
||||
if (!locale)
|
||||
setlocale(LC_CTYPE, "");
|
||||
(void) setlocale(LC_CTYPE, "");
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user