[gs-cvs] rev 9418 - trunk/ghostpdl/xps
tor at ghostscript.com
tor at ghostscript.com
Wed Jan 28 09:18:54 PST 2009
Author: tor
Date: 2009-01-28 09:18:54 -0800 (Wed, 28 Jan 2009)
New Revision: 9418
Modified:
trunk/ghostpdl/xps/xpsglyphs.c
Log:
Fix an potentially uninitialized variable.
Modified: trunk/ghostpdl/xps/xpsglyphs.c
===================================================================
--- trunk/ghostpdl/xps/xpsglyphs.c 2009-01-27 23:04:37 UTC (rev 9417)
+++ trunk/ghostpdl/xps/xpsglyphs.c 2009-01-28 17:18:54 UTC (rev 9418)
@@ -582,6 +582,8 @@
parttype = xps_get_content_type(ctx, part->name);
if (parttype && !strcmp(parttype, "application/vnd.ms-package.obfuscated-opentype"))
xps_deobfuscate_font_resource(ctx, part);
+#else
+ parttype = NULL;
#endif
/* stupid XPS files with content-types after the parts */
More information about the gs-cvs
mailing list