zephyr/subsys/net/lib/lwm2m
Michael Scott 263dab3eda net: lwm2m: fix compile warning related to Logger changes
When DBG level for CONFIG_LWM2M_LOG_LEVEL is disabled, a compiler
warning is generated:
In file included from include/logging/log.h:11:0,
                 from subsys/net/lib/lwm2m/lwm2m_engine.c:28:
subsys/net/lib/lwm2m/lwm2m_engine.c: In function ‘engine_add_observer’:
subsys/net/lib/lwm2m/lwm2m_engine.c:558:3: warning: implicit
declaration of function ‘sprint_token’
[-Wimplicit-function-declaration]
   sprint_token(token, tkl), lwm2m_sprint_ip_addr(addr));
   ^

Let's remove the #if guards around sprint_token() and let
the Linker remove it when not needed.

Signed-off-by: Michael Scott <mike@foundries.io>
2018-10-19 17:32:36 -04:00
..
CMakeLists.txt
Kconfig net: Make Kconfig template variables prettier 2018-10-05 09:01:37 -04:00
Kconfig.ipso
ipso_light_control.c net: lwm2m: Convert to new logging system 2018-10-04 14:13:57 +03:00
ipso_temp_sensor.c net: lwm2m: Convert to new logging system 2018-10-04 14:13:57 +03:00
lwm2m_engine.c net: lwm2m: fix compile warning related to Logger changes 2018-10-19 17:32:36 -04:00
lwm2m_engine.h
lwm2m_obj_device.c net: lwm2m: Convert to new logging system 2018-10-04 14:13:57 +03:00
lwm2m_obj_firmware.c net: lwm2m: Convert to new logging system 2018-10-04 14:13:57 +03:00
lwm2m_obj_firmware_pull.c net: lwm2m: Convert to new logging system 2018-10-04 14:13:57 +03:00
lwm2m_obj_security.c net: lwm2m: Convert to new logging system 2018-10-04 14:13:57 +03:00
lwm2m_obj_server.c net: lwm2m: Convert to new logging system 2018-10-04 14:13:57 +03:00
lwm2m_object.h
lwm2m_rd_client.c net: lwm2m: Convert to new logging system 2018-10-04 14:13:57 +03:00
lwm2m_rd_client.h
lwm2m_rw_json.c net: lwm2m: Convert to new logging system 2018-10-04 14:13:57 +03:00
lwm2m_rw_json.h
lwm2m_rw_oma_tlv.c net: lwm2m: Convert to new logging system 2018-10-04 14:13:57 +03:00
lwm2m_rw_oma_tlv.h
lwm2m_rw_plain_text.c net: lwm2m: Convert to new logging system 2018-10-04 14:13:57 +03:00
lwm2m_rw_plain_text.h