zephyr/subsys/net/lib/coap
Stephanos Ioannidis 532d2671be net: coap: Remove resource pointer NULL check
This commit removes the resource pointer NULL check inside the resource
enumeration loop of the `coap_well_known_core_get` function because the
expression `(resource + 1)` will never evaluate to NULL (aka. 0).

This fixes the "comparison will always evaluate as ‘true’ for the
pointer operand" warning generated by the GCC 12.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-08-01 10:47:23 +02:00
..
CMakeLists.txt
coap_link_format.c net: coap: Remove resource pointer NULL check 2022-08-01 10:47:23 +02:00
coap.c net: coap: make coap vars configurable 2022-07-05 21:56:34 +00:00
Kconfig net: coap: make coap vars configurable 2022-07-05 21:56:34 +00:00