mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Don't split twice.
This commit is contained in:
parent
f525d83711
commit
fea6d5b55d
@ -210,11 +210,6 @@ static bool shader_parse_imports(config_file_t *conf, struct gfx_shader *shader)
|
||||
return true;
|
||||
|
||||
char *save;
|
||||
const char *id = strtok_r(imports, ";", &save);
|
||||
|
||||
/* FIXME - unused variable and then redefined again in for loop? */
|
||||
(void)id;
|
||||
|
||||
for (const char *id = strtok_r(imports, ";", &save);
|
||||
id && shader->variables < GFX_MAX_VARIABLES;
|
||||
shader->variables++, id = strtok_r(NULL, ";", &save))
|
||||
|
Loading…
x
Reference in New Issue
Block a user