Bug 152089 - scotty-2.1.11-620: local variable used before set
Summary: scotty-2.1.11-620: 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 Linux 10.1
: P5 - None : Normal
Target Milestone: ---
Assignee: Reinhard Max
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-19 13:58 UTC by David Binderman
Modified: 2006-02-20 17:47 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-02-19 13:58:31 UTC
I just tried to compile package scotty-2.1.11-620 with the Intel C compiler.

It said

./../tnm/generic/tnmHttp.c(1164): warning #592: variable "sockaddr" is used before its value is set

The source code is

    rc = HttpEvalCallback(interp, bindPtr->command,
                          inet_ntoa(sockaddr.sin_addr), path);

Suggest initialise local variable "sockaddr" before first use.
Comment 1 Reinhard Max 2006-02-20 17:45:57 UTC
Fixed for 10.1.
Comment 2 Reinhard Max 2006-02-20 17:47:00 UTC
.