On Sat, Dec 01, 2001 at 05:51:52PM -0500, Michael Weiss wrote:
> I have just moved to a new Linux server from a BSD box.  When I went to
> compile the code.  Several function came back with warnings (all the same
> sort)...
> 
> warning: `victim' might be used uninitialized in this function
> 
> Others showed spell/skill names in place of 'victim', but the warning was
> the same.
> 
> What causes this and any idea how I should fix it to get a clean compile?

Show some code and we'll tell you. But like it says: you're not
properly assigning a value to a pointer before using it. In the
end you might end up with some weird value pointing to the wrong
memory-space totally ruining something else.

Edwin

-- 
Edwin Groothuis   |              Personal website: http://www.MavEtJu.org
[EMAIL PROTECTED] |           Interested in MUDs? Visit Fatal Dimensions:
------------------+                       http://www.FatalDimensions.org/

Reply via email to