chiark / gitweb /
Do not print out p.y uninitialised in error message
[ypp-sc-tools.web-live.git] / pctb / structure.c
index 2dc98d1c77a1590e0ae8d91e78eed19d4cbf90d0..d053b448bf458b9f1c4f5d45559ccd8482f3b92a 100644 (file)
@@ -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" ",