Bug 155951

Summary: nmh-1.1-192: local variable used before set
Product: [openSUSE] SUSE LINUX 10.0 Reporter: David Binderman <dcb314>
Component: BasesystemAssignee: Mads Martin Joergensen <mmj>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: SuSE Linux 10.1   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description David Binderman 2006-03-07 22:29:55 UTC
I just tried to compile package nmh-1.1-192 with the Intel C compiler.

It said

inc.c(545): warning #592: variable "maildir" is used before its value is set

The source code is

	adios (maildir, "error allocating memory to copy newmail");

I agree with the compiler.  Suggest code rework.
Comment 1 Mads Martin Joergensen 2006-05-04 12:14:51 UTC
Well, you didn't really look did you? There's checks involved in the adios
routine for that argument, so it doesn't matter in this case.