mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Avoid warning
This commit is contained in:
parent
55559983fd
commit
06e3a9e762
1 changed files with 1 additions and 2 deletions
|
@ -249,7 +249,6 @@ void fill_pathname_application_path(char *s, size_t len)
|
|||
#endif
|
||||
#ifdef _WIN32
|
||||
DWORD ret;
|
||||
char *str;
|
||||
wchar_t wstr[PATH_MAX_LENGTH] = {0};
|
||||
#endif
|
||||
#ifdef __HAIKU__
|
||||
|
@ -269,7 +268,7 @@ void fill_pathname_application_path(char *s, size_t len)
|
|||
|
||||
if (*wstr)
|
||||
{
|
||||
str = utf16_to_utf8_string_alloc(wstr);
|
||||
char *str = utf16_to_utf8_string_alloc(wstr);
|
||||
|
||||
if (str)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue