mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-16 03:15:38 +00:00
fixed build error due to -Wunused-function
This commit is contained in:
@@ -214,6 +214,7 @@ static void free_hid_device(hid_device *dev)
|
||||
}
|
||||
|
||||
|
||||
#ifndef HIDAPI_USING_SDL_RUNTIME
|
||||
/* The caller must free the returned string with free(). */
|
||||
static wchar_t *utf8_to_wchar_t(const char *utf8)
|
||||
{
|
||||
@@ -235,6 +236,7 @@ static wchar_t *utf8_to_wchar_t(const char *utf8)
|
||||
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
/* Makes a copy of the given error message (and decoded according to the
|
||||
|
||||
Reference in New Issue
Block a user