mirror of
https://github.com/Hamlib/Hamlib
synced 2026-08-13 17:32:05 -04:00
MinGW generated the following warning:
Making install in rigs/simplecat
CC simplecat.lo
simplecat.c: In function 'simplecat_transaction':
simplecat.c:94:17: warning: the comparison will always evaluate as 'true' for the address of 'state' will never be NULL [-Waddress]
94 | if (!rig || !STATE(rig))
| ^
In file included from simplecat.c:27:
../../include/hamlib/rig.h:2672:22: note: 'state' declared here
2672 | struct rig_state state; /*!< Rig state */
| ^~~~~
CCLD libhamlib-simplecat.la
This warning is due to the changes to the state structure in Hamlib 5+.
|
||
|---|---|---|
| .. | ||
| Android.mk | ||
| Makefile.am | ||
| SIMPLE_CAT_PROTOCOL.md | ||
| simplecat.c | ||
| simplecat.h | ||