vtfontcvt: initialize another variable to quiet GCC warning
I believe this case could be triggered by a broken .bdf font. PR: 205707 Reported by: ci.freebsd.org MFC with: 349100 Event: Berlin Devsummit 2019 Sponsored by: The FreeBSD Foundation
This commit is contained in:
@@ -313,7 +313,7 @@ parse_bdf(FILE *fp, unsigned int map_idx)
|
||||
int bbw, bbh, bbox, bboy; /* Glyph bounding box. */
|
||||
int fbbw = 0, fbbh, fbbox, fbboy; /* Font bounding box. */
|
||||
int dwidth = 0, dwy = 0;
|
||||
int rv;
|
||||
int rv = -1;
|
||||
char spc = '\0';
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user