Bug 138291

Summary: dviutils-94.3.19-1008: local variable used before set
Product: [openSUSE] SUSE LINUX 10.0 Reporter: David Binderman <dcb314>
Component: BasesystemAssignee: Dr. Werner Fink <werner>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: SUSE Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

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