Cleanup some unused variables

This commit is contained in:
Twinaphex 2020-08-22 18:04:34 +02:00
parent 503131de66
commit a175af4e6a
2 changed files with 1 additions and 4 deletions

View File

@ -191,7 +191,6 @@ static bool png_process_ihdr(struct png_ihdr *ihdr)
#else
static bool png_process_ihdr(struct png_ihdr *ihdr)
{
unsigned i;
uint8_t ihdr_depth = ihdr->depth;
switch (ihdr->color_type)
@ -1199,8 +1198,6 @@ void rpng_free(rpng_t *rpng)
bool rpng_start(rpng_t *rpng)
{
unsigned i;
if (!rpng)
return false;