1
0
Fork 0

fixed null

This commit is contained in:
Frank Celler 2014-06-06 10:21:05 +02:00
parent 315232f2c8
commit c2dbce8290
1 changed files with 4 additions and 0 deletions

View File

@ -912,6 +912,8 @@ bool TRI_ExtractShapedJsonVocShaper (TRI_shaper_t* shaper,
LOG_TRACE("expecting any object for path %lu, got nothing",
(unsigned long) pid);
*shape = nullptr;
return sid == TRI_SHAPE_ILLEGAL;
}
@ -922,6 +924,8 @@ bool TRI_ExtractShapedJsonVocShaper (TRI_shaper_t* shaper,
(unsigned long) pid,
(unsigned long) accessor->_resultSid);
*shape = nullptr;
return sid == TRI_SHAPE_ILLEGAL;
}