Bug 138291 - dviutils-94.3.19-1008: local variable used before set
Summary: dviutils-94.3.19-1008: local variable used before set
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: unspecified
Hardware: All SUSE Other
: P5 - None : Minor
Target Milestone: ---
Assignee: Dr. Werner Fink
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-13 15:33 UTC by David Binderman
Modified: 2005-12-13 16:39 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Binderman 2005-12-13 15:33:08 UTC
I just tried to compile package dviutils-94.3.19-1008 with the Intel C compiler 

It said

dvistuff.c(277): warning #592: variable "fname" is used before its value is set

The source code is

                GripeCannotGetFont(p->paf_name, p->paf_DVIMag,
                                   p->paf_DVIDesignSize,
                                   dviPrintEngine, fname);

I agree with the compiler. Suggest initialise local variable "fname" before
first use.

BTW, I tried to contact the author [ grunwald@colorado.edu ] but got no reply.
Comment 1 Dr. Werner Fink 2005-12-13 16:39:19 UTC
Fixed for next version