Skip to content

Dead code in _descend_and_update() #24

@cjdoucette

Description

@cjdoucette

The part of _descend_and_update starting from this line appears to be dead code:

https://github.com/pixos/poptrie/blob/master/poptrie.c#L929

Since this code returns immediately, the rest of this if statement is not executed.

I think this could be a bug that happens when you try to add prefixes of greater than 24 bits from this line:

https://github.com/pixos/poptrie/blob/master/poptrie.c#L880

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions