mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Fix build for ISO C 90.
This commit is contained in:
parent
6d5960c166
commit
c69c3f4c47
@ -1225,6 +1225,7 @@ void playlist_write_file(playlist_t *playlist)
|
||||
JSONContext context = {0};
|
||||
context.writer = JSON_Writer_Create(NULL);
|
||||
context.file = file;
|
||||
char label_display_mode[4];
|
||||
|
||||
if (!context.writer)
|
||||
{
|
||||
@ -1281,7 +1282,6 @@ void playlist_write_file(playlist_t *playlist)
|
||||
JSON_Writer_WriteComma(context.writer);
|
||||
JSON_Writer_WriteNewLine(context.writer);
|
||||
|
||||
char label_display_mode[4];
|
||||
snprintf(label_display_mode, sizeof(label_display_mode), "%u", playlist->label_display_mode);
|
||||
|
||||
JSON_Writer_WriteSpace(context.writer, 2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user