Skip to content

Compiler warnings about uninitialized variables #29

@davidcerny

Description

@davidcerny

GCC 15 complains about the following instances of variables that may be used uninitialized:

unsigned currentTaxon;

unsigned currentTaxon;

NxsCharacterPattern patternTemp;

The first two of these are instances of the same pattern: the index variable of a for loop is declared outside of that loop's initialization section, so that its value remains accessible once the loop has executed. The third case looks a little more involved.

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