Author: emaste Date: Sun Jun 16 12:26:46 2019 New Revision: 349105 URL: https://svnweb.freebsd.org/changeset/base/349105
Log: 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 Modified: head/usr.bin/vtfontcvt/vtfontcvt.c Modified: head/usr.bin/vtfontcvt/vtfontcvt.c ============================================================================== --- head/usr.bin/vtfontcvt/vtfontcvt.c Sun Jun 16 11:53:22 2019 (r349104) +++ head/usr.bin/vtfontcvt/vtfontcvt.c Sun Jun 16 12:26:46 2019 (r349105) @@ -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'; /* _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"