Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined bool conversions in EdbSegP.h #1

Open
olantwin opened this issue Jan 18, 2024 · 0 comments
Open

Undefined bool conversions in EdbSegP.h #1

olantwin opened this issue Jan 18, 2024 · 0 comments

Comments

@olantwin
Copy link

olantwin commented Jan 18, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant