Comply with the C89 standard

This commit is contained in:
Joan Coll Cerdán 2020-05-14 00:32:52 +02:00 committed by GitHub
parent fe42f6bb73
commit 718e9eaf37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -400,15 +400,14 @@ static bool menu_shader_manager_operate_auto_preset(
{
/* remove all supported auto-shaders of given type */
char *end;
size_t i, j;
size_t n, m;
n = m = 0;
size_t i, j, n, m;
const char *dirs[3] = {0};
char config_directory[PATH_MAX_LENGTH];
char preset_path[PATH_MAX_LENGTH];
n = m = 0;
config_directory[0] = '\0';
if (!path_is_empty(RARCH_PATH_CONFIG))