View Single Post
  #2 (permalink)  
Old 06-23-2009, 08:40 PM
emceenugget emceenugget is offline
Senior Member
 
Join Date: Sep 2008
Posts: 564
Rep Power: 2
emceenugget is on a distinguished road
Default
your initialization occurs within an conditional statement. that's why it "might" not be initalized. you can solve this by putting an 'else' to your 'if' and set the variable to another value, or by only printing if the variable is set.
Reply With Quote