Skip to content

No initial value of i for loop #10

@tyama501

Description

@tyama501

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions