
March 4th, 2013, 07:05 PM
|
 |
Contributing User
|
|
Join Date: Aug 2010
Location: SW Missouri
|
|
The loop control variables must change for the loop to exit. Make sure all the paths the execution takes will change the variables that control the looping, otherwise the loop will go forever.
Code:
dup = true;
if(dup == true)
The if test is useless, it will ALWAYS be true.
|