Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file_path.c: Silence warning (-Wunused-variable) #211

Closed
wants to merge 1 commit into from

Conversation

negativeExponent
Copy link

CC libretro/libretro-common/encodings/encoding_utf.c CC libretro/libretro-common/file/file_path.c
libretro/libretro-common/file/file_path.c: In function ‘strftime_am_pm’: libretro/libretro-common/file/file_path.c:77:10: warning: unused variable ‘local’ [-Wunused-variable]
77 | char *local = NULL;
| ^~~~~
CC libretro/libretro-common/file/file_path_io.c
CC libretro/libretro-common/streams/file_stream.c

CC libretro/libretro-common/encodings/encoding_utf.c
CC libretro/libretro-common/file/file_path.c
libretro/libretro-common/file/file_path.c: In function ‘strftime_am_pm’:
libretro/libretro-common/file/file_path.c:77:10: warning: unused variable ‘local’ [-Wunused-variable]
   77 |    char *local = NULL;
      |          ^~~~~
CC libretro/libretro-common/file/file_path_io.c
CC libretro/libretro-common/streams/file_stream.c
@RobLoach
Copy link
Member

Might want to submit this change to the retroarch repo as this is just a mirror of libretro-common folder there: https://github.com/libretro/RetroArch/

@LibretroAdmin
Copy link
Contributor

Since there was a merge conflict I backported it here and gave credit to the author.

Thanks for this.
d6f39bf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants