Bug 155951 - nmh-1.1-192: local variable used before set
Summary: nmh-1.1-192: local variable used before set
Status: RESOLVED WONTFIX
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: unspecified
Hardware: All SuSE Linux 10.1
: P5 - None : Normal
Target Milestone: ---
Assignee: Mads Martin Joergensen
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-07 22:29 UTC by David Binderman
Modified: 2006-05-04 12:14 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 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.