Own fork of MbedSmartRest

Dependents:   MbedSmartRestMain MbedSmartRestMain

Fork of MbedSmartRest by Cumulocity Official

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