1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00

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:
Ed Maste 2019-06-16 12:26:46 +00:00
parent 0026fec57d
commit 0f17b429d0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349105

View File

@ -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';
/*