Silence warning 'variable is used before its value is set'

This commit is contained in:
twinaphex 2014-09-16 01:09:10 +02:00
parent bd4f28af21
commit fffed52892
2 changed files with 1 additions and 2 deletions

1
file.c
View File

@ -525,4 +525,3 @@ bool init_content_file(void)
string_list_free(content);
return ret;
}

View File

@ -847,7 +847,7 @@ static unsigned menu_common_shader_manager_get_type(
const struct gfx_shader *shader)
{
/* All shader types must be the same, or we cannot use it. */
unsigned i, type = 0;
unsigned i = 0, type = 0;
(void)i;