summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-03 00:07:06 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-03 00:07:06 -0800
commitf82c76db93e191f5d6dfc2b07333a2b22dc52875 (patch)
tree51da00ca7860073afcb57e4aed24ad8dd28b4ed6
parenta28c5c4f2b9f3e20fb176e08a1eda149a8b866f3 (diff)
Initialize font to 0 values directly instead of via bzero
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--bdftopcf.c4
1 files changed, 1 insertions, 3 deletions
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++;