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

Revision:
22:422d94bd3c18
Parent:
21:6d3dea1abd9c
Child:
24:49c36a13bed1
--- a/schema.c	Tue Jan 24 15:24:19 2017 -0800
+++ b/schema.c	Sat Jan 28 09:35:06 2017 -0800
@@ -2432,9 +2432,7 @@
 {
     size_t result;
     /*Codes_SRS_SCHEMA_02_057: [ If modelTypeHandle is NULL then Schema_GetModelModelByIndex_Offset shall fail and return 0. ]*/
-    if (
-        (modelTypeHandle == NULL)
-        )
+    if (modelTypeHandle == NULL)
     {
         result = 0;
         LogError("error SCHEMA_INVALID_ARG");
@@ -2461,9 +2459,7 @@
 SCHEMA_MODEL_TYPE_HANDLE Schema_GetModelModelyByIndex(SCHEMA_MODEL_TYPE_HANDLE modelTypeHandle, size_t index)
 {
     SCHEMA_MODEL_TYPE_HANDLE result;
-    if (
-        (modelTypeHandle == NULL) 
-        )
+    if (modelTypeHandle == NULL) 
     {
         /*Codes_SRS_SCHEMA_99_173: [Schema_GetModelModelyByIndex shall return NULL in the cases when it cannot provide the handle.]*/
         result = NULL;