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:
- 31:bdcce611d29b
- Parent:
- 30:5fabc80edeb1
- Child:
- 36:7d12a5386197
diff -r 5fabc80edeb1 -r bdcce611d29b multitree.c --- a/multitree.c Thu Feb 15 11:37:06 2018 -0800 +++ b/multitree.c Mon Mar 05 17:42:32 2018 -0800 @@ -102,6 +102,10 @@ }; /*name cannot be empty, value can be empty or NULL*/ +#ifdef __APPLE__ +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wconditional-uninitialized" +#endif #ifdef _MSC_VER #pragma warning(disable: 4701) /* potentially uninitialized local variable 'result' used */ /* the scanner cannot track linked "newNode" and "result" therefore the warning*/ #endif @@ -199,6 +203,9 @@ #ifdef _MSC_VER #pragma warning(default: 4701) /* potentially uninitialized local variable 'result' used */ /* the scanner cannot track linked "newNode" and "result" therefore the warning*/ #endif +#ifdef __APPLE__ +#pragma clang diagnostic pop +#endif } MULTITREE_RESULT MultiTree_AddLeaf(MULTITREE_HANDLE treeHandle, const char* destinationPath, const void* value)