Own fork of MbedSmartRest

Dependents:   MbedSmartRestMain MbedSmartRestMain

Fork of MbedSmartRest by Cumulocity Official

Revision:
5:2b74510900da
Parent:
4:059b8b90e0d9
Child:
11:e1bee9a77652
--- a/ComposedRecord.cpp	Wed Jul 09 15:37:19 2014 +0200
+++ b/ComposedRecord.cpp	Thu Jul 10 16:20:31 2014 +0200
@@ -27,7 +27,6 @@
  */
 
 #include "ComposedRecord.h"
-#include "NullValue.h"
 #include <stdlib.h>
 #include <string.h>
 
@@ -109,8 +108,6 @@
 
 const Value& ComposedRecord::value(size_t index) const
 {
-    if (index >= _count)
-        return aNullValue;
     return *_values[index];
 }