Nico De Witte / MbedJSONValue

Dependents:   City_Game_JSON City_Game_JSON

Fork of MbedJSONValue by Samuel Mokrani

Revision:
5:ba03a74f9119
Parent:
3:f2ffae08b963
Child:
6:c21b9ffd9628
diff -r 10a99cdf7846 -r ba03a74f9119 MbedJSONValue.cpp
--- a/MbedJSONValue.cpp	Thu Sep 22 10:57:37 2011 +0000
+++ b/MbedJSONValue.cpp	Wed Aug 24 19:11:59 2016 +0000
@@ -240,6 +240,6 @@
         default:
             break;
     }
-    return -1;
+    return 0;       // 0 is better than -1 for for-loops
 }