libretro / libretro-common

Reusable coding blocks useful for libretro core and frontend development, written primarily in C. Permissively licensed.
146 stars 76 forks source link

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

Closed negativeExponent closed 2 months ago

negativeExponent commented 11 months ago

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 commented 6 months ago

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 commented 2 months ago

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

Thanks for this. https://github.com/libretro/libretro-common/commit/d6f39bfb4da48229b2b6a950bcac3a3a63abd0f8