Bug 1862 - local variable used before set in PsText.c
Summary: local variable used before set in PsText.c
Status: RESOLVED WONTFIX
Alias: None
Product: xprint
Classification: Unclassified
Component: Server: DDX: PostScript (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Roland Mainz
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-15 03:50 UTC by dcb314
Modified: 2011-09-13 14:09 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description dcb314 2004-11-15 03:50:22 UTC
Hello there,

I just tried to compile X11R6.8.1 with the most excellent Intel C
8.1 compiler, on a Linux Fedora Core 3 box. The compiler said

PsText.c(339): remark #592: variable "fontPage" is used before its value is set

The source code is in file

programs/Xserver/Xprint/ps/PsText.c

The source code is

        firec->ftir->alreadyDownloaded[fontPage] = True;

Suggest init fontPage before first use.
Comment 1 Corbin Simpson 2011-09-13 14:09:43 UTC
Closing WONTFIX because nobody cares about Xprint. Reopen if you plan to address this bug.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.