Changeset 73978 in vbox for trunk/src/VBox/Runtime/common/misc/json.cpp
- Timestamp:
- Aug 30, 2018 1:19:36 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/misc/json.cpp
r73956 r73978 1518 1518 RTJSON_TYPECHECK_RETURN(pThis, RTJSONVALTYPE_ARRAY); 1519 1519 1520 return rtJsonIteratorBeginWorker(pThis, phJsonIt); 1520 if (pThis->Type.Array.cItems > 0) 1521 return rtJsonIteratorBeginWorker(pThis, phJsonIt); 1522 return VERR_JSON_IS_EMPTY; 1521 1523 } 1522 1524 … … 1528 1530 RTJSON_TYPECHECK_RETURN(pThis, RTJSONVALTYPE_OBJECT); 1529 1531 1530 return rtJsonIteratorBeginWorker(pThis, phJsonIt); 1532 if (pThis->Type.Object.cMembers > 0) 1533 return rtJsonIteratorBeginWorker(pThis, phJsonIt); 1534 return VERR_JSON_IS_EMPTY; 1531 1535 } 1532 1536
Note:
See TracChangeset
for help on using the changeset viewer.