ASCII-Chess icon indicating copy to clipboard operation
ASCII-Chess copied to clipboard

No initial value of i for loop

Open tyama501 opened this issue 1 year ago • 0 comments

Hello,

it seems that there is no initial value of i for loop in assign_ent function, so that it cannot loop when compiled with gcc in debian 12.

void assign_ent(char side, node* branch, char swap[2][8][8]) { int i,j=0;

This could solve by modifying as int i=0,j=0;

Thank you!

tyama501 avatar Dec 22 '24 15:12 tyama501