Skip to content

Why setting cv->head to next of new node #186

@WweiL

Description

@WweiL

https://github.com/illinois-cs241/coursebook/blob/1b53e6d38f4fff1f45fc25efd3a24111de35383e/appendix/appendix.tex#L846

I was wondering the purpose of this line here. It seems that it is setting the head again to itself so essentially this line doesn't do anything. Should it be setting head to my_node?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions