Skip to content

Undefined bool conversions in EdbSegP.h #1

@olantwin

Description

@olantwin
FEDRA/rev1530-local1/include/EdbSegP.h:97:11: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
    if(!(&cov)) return;
       ~  ^~~
FEDRA/rev1530-local1/include/EdbSegP.h:108:11: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
    if(!(&cov)) return;
       ~  ^~~

This should be at least checked to see whether the behaviour is as intended, and ideally then fixed!

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