From f82c76db93e191f5d6dfc2b07333a2b22dc52875 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 3 Jan 2013 00:07:06 -0800 Subject: Initialize font to 0 values directly instead of via bzero Signed-off-by: Alan Coopersmith --- bdftopcf.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'bdftopcf.c') diff --git a/bdftopcf.c b/bdftopcf.c index b982467..f31b275 100644 --- a/bdftopcf.c +++ b/bdftopcf.c @@ -40,7 +40,7 @@ from The Open Group. int main(int argc, char *argv[]) { - FontRec font; + FontRec font = { 0 }; FontFilePtr input, output; @@ -50,8 +50,6 @@ main(int argc, char *argv[]) int bit, byte, glyph, scan; - bzero(&font, sizeof(FontRec)); - FontDefaultFormat(&bit, &byte, &glyph, &scan); program_name = argv[0]; argc--, argv++; -- cgit v1.2.3