Skip to content

redundant code in kalman #1516

@tsteven4

Description

@tsteven4

The lines

                    current_wpt->wpt_flags.marked_for_deletion = true;
                    extra_data->is_zinger_deletion = true; // Mark as zinger deletion

always appear together.

If we assume that waypoints aren't marked for deletion on entry then is_zinger_deletion seems redundant with marked_for_deletion.

It seems the original intent was to allow for "This is a marked point but NOT a zinger", but I don't see that this can ever occur.

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