From 0d97db81eec48d6aeead17a27376f73888b6f6b9 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 27 Jun 2009 00:59:32 +0100 Subject: [PATCH] Do not print out p.y uninitialised in error message --- pctb/structure.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pctb/structure.c b/pctb/structure.c index 2dc98d1..d053b44 100644 --- a/pctb/structure.c +++ b/pctb/structure.c @@ -628,6 +628,7 @@ void find_islandname(RgbImage *ri) { Point p; int nspaces=1, might_be_colon=0; uint32_t colon_pattern= 0; + p.y=-1; for (p.x=islandnamer.br.x; p.x>islandnamer.tl.x; p.x--) { colondebugf("structcolon: x=%4d nsp=%2d mbc=%d cp=%08"PRIx32" ", -- 2.30.2