Im getting this warning even though theres no possibility that it would remain uninitialized. The Visual Studio 2008 compiler fails to detect this.
How do i suppress this warning at this piece of code only?
Im getting this warning even though theres no possibility that it would remain uninitialized. The Visual Studio 2008 compiler fails to detect this.
How do i suppress this warning at this piece of code only?
I would tend to side with the compiler on this one; you probably initialized it in a nested conditional statement which isn't always hit. But if you really insist on ignoring the warning, you can use the appropriate #pragma directive with the warning number.