Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Use of anassigned local variable

Joined
Sep 27, 2006
Messages
557
Reaction score
88
be nice if you showed what "left" "mode" "last" "length1" where as variables.

but...

Code:
var length1 = null;
while ((this.left -= length1) != 0);this.mode = this.last != 0 ? InflateBlocks.InflateBlockMode.DRY : InflateBlocks.InflateBlockMode.TYPE;
continue;

complier is telling you it has no idea what length1 is? sign it a null variable or a zero.
 
Back
Top