HomeDevCentral

Prune always true expression

Description

Prune always true expression

This addresses the following compiler warning:

rabbitmq-tcl.c:508:10: warning: address of 'message' will always evaluate to 'true'
[-Wpointer-bool-conversion]
    if (&message && &(message.body)) {
        ^~~~~~~ ~~

Details

Provenance
derecksonAuthored on Dec 20 2015, 15:58
Parents
rRABBITMQTCLc36e0ab6a25d: Build: more thorough `make clean`
Branches
Unknown
Tags
Unknown
References
tag: 0.1.1