Skip to content

j2k.cpp > comparison of address of 'p_j2k->m_cp.tcps[0].m_data' not equal to a null pointer is always true #1020

Closed
@bommo1

Description

latest commit.
Compilation fails with AppleClang 8.1.0.8020042:

j2k.cpp:9244:34: error: comparison of address of 'p_j2k->m_cp.tcps[0].m_data' not equal to a null pointer is always true [-Werror,-Wtautological-pointer-compare]
&p_j2k->m_cp.tcps[0].m_data != NULL) {
~~~~~~~~~~~~~~~~~~~~^~~~~~ ~~~~

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