HomeFreeBSD

comms/telldus-core: unbreak with clang 4.0

Description

comms/telldus-core: unbreak with clang 4.0

service/SettingsConfuse.cpp:47:13: error: ordered comparison between pointer and zero ('cfg_t *' and 'int')

if (d->cfg > 0) {
    ~~~~~~ ^ ~

service/SettingsConfuse.cpp:50:17: error: ordered comparison between pointer and zero ('cfg_t *' and 'int')

if (d->var_cfg > 0) {
    ~~~~~~~~~~ ^ ~

service/SettingsConfuse.cpp:61:13: error: ordered comparison between pointer and zero ('cfg_t *' and 'int')

if (d->cfg > 0) {
    ~~~~~~ ^ ~

service/SettingsConfuse.cpp:73:13: error: ordered comparison between pointer and zero ('cfg_t *' and 'int')

if (d->cfg > 0) {
    ~~~~~~ ^ ~

PR: 216052
Submitted by: Johan Ström (maintainer)

Details