Skip to content

Unnecessary assignment at line 394? #15

@jtoly

Description

@jtoly

Is there something nuanced happening here?

VerifyStoreReceipt.m dictionaryWithAppStoreReceipt()

 // Attribute version
ASN1_get_object(&p, &length, &type, &xclass, seq_end - p);
if (type == V_ASN1_INTEGER && length == 1) {
    attr_version = p[0];
    attr_version = attr_version;
}

That second assignment on attr_version, to itself, after having just been assigned the value of p[0], is what I'm looking at.

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