Used before Initialized Variables Warning/Error
Used before Initialized Variables Warning/Error
- Subject: Used before Initialized Variables Warning/Error
- From: Dave <email@hidden>
- Date: Tue, 13 Feb 2007 12:29:58 +0000
Hi,
I was wondering if there is a Warning for variables that are used
before they are Initialized?
e.g.
void FunctionX(int theValue)
{
int myValue;
int myTotal;
myTotal = myValue * theValue;
return(myTotal);
}
Would give a Warning since myValue has not been initialized to anything.
I assumed there would be since there are so many other warning
present, but can't seem to find it.
Thanks a lot
All the Best
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden