Skip to content

Commit

Permalink
Fix a bug caused by an uninitialized variable
Browse files Browse the repository at this point in the history
  • Loading branch information
saitoha committed Oct 11, 2014
1 parent 4a011b1 commit e2c9d4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/quant.c
Expand Up @@ -921,7 +921,7 @@ lookup_normal(unsigned char const * const pixel,
int r;
int i;
int n;
int distant;
int distant = 0;

index = -1;
diff = INT_MAX;
Expand Down

0 comments on commit e2c9d4b

Please sign in to comment.