A modelling and serializer library for Microsoft Azure IoTHub client applications
Dependents: sht15_remote_monitoring f767zi_mqtt remote_monitoring simplesample_amqp ... more
This library implements a serializer library to be used in projects involving Microsoft Azure IoT Hub connectivity. The code is replicated from https://github.com/Azure/azure-iot-sdks
Diff: multitree.c
- Revision:
- 30:5fabc80edeb1
- Parent:
- 26:7c0e6f86d034
- Child:
- 31:bdcce611d29b
--- a/multitree.c Tue Jan 30 08:22:58 2018 -0800 +++ b/multitree.c Thu Feb 15 11:37:06 2018 -0800 @@ -9,6 +9,7 @@ #include "azure_c_shared_utility/crt_abstractions.h" #include "azure_c_shared_utility/xlogging.h" #include "azure_c_shared_utility/macro_utils.h" +#include "azure_c_shared_utility/const_defines.h" /*assume a name cannot be longer than 100 characters*/ #define INNER_NODE_NAME_SIZE 128 @@ -92,7 +93,7 @@ // Do not remove, or add new enum values below this one }CREATELEAF_RESULT; -static const char* CreateLeaf_ResultAsString[CREATELEAF_RESULT_COUNT] = +static STATIC_VAR_UNUSED const char* CreateLeaf_ResultAsString[CREATELEAF_RESULT_COUNT] = { TOSTRING(CREATELEAF_OK), TOSTRING(CREATELEAF_ALREADY_EXISTS),