Merge pull request #30 from nuxeh/edcragg/fix-last-color-warning

identify: fix warning
This commit is contained in:
Daniel Beer 2017-05-01 11:13:35 +12:00 committed by GitHub
commit c4abca0eec

View file

@ -427,7 +427,7 @@ static void finder_scan(struct quirc *q, int y)
{
quirc_pixel_t *row = q->pixels + y * q->w;
int x;
int last_color;
int last_color = 0;
int run_length = 0;
int run_count = 0;
int pb[5];