This commit is contained in:
iceman1001 2019-04-07 15:20:27 +02:00
parent 5ea649e59d
commit d8f539c217
2 changed files with 1 additions and 2 deletions

View file

@ -409,7 +409,7 @@ CBOR_PRIVATE_API CborError _cbor_value_copy_string(const CborValue *value, void
CBOR_PRIVATE_API CborError _cbor_value_dup_string(const CborValue *value, void **buffer,
size_t *buflen, CborValue *next);
CBOR_API CborError cbor_value_calculate_string_length(const CborValue *value, size_t *length);
CBOR_API CborError cbor_value_calculate_string_length(const CborValue *value, size_t *len);
CBOR_INLINE_API CborError cbor_value_copy_text_string(const CborValue *value, char *buffer,
size_t *buflen, CborValue *next) {

View file

@ -208,7 +208,6 @@ static bool is_fixed_type(uint8_t type) {
static CborError preparse_value(CborValue *it) {
const CborParser *parser = it->parser;
it->type = CborInvalidType;
/* are we at the end? */
if (it->ptr == parser->end)