diff options
Diffstat (limited to 'src/reader.h')
-rw-r--r-- | src/reader.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/reader.h b/src/reader.h index 9b558d1f..81edbc09 100644 --- a/src/reader.h +++ b/src/reader.h @@ -168,12 +168,7 @@ push_byte(SerdReader* reader, Ref ref, const int c) uint8_t* const s = (uint8_t*)serd_stack_push(&reader->stack, 1); SerdNode* const node = (SerdNode*)(reader->stack.buf + ref); - ++node->n_bytes; - if (!(c & 0x80)) { // Starts with 0 bit, start of new character - ++node->n_chars; - } - *(s - 1) = (uint8_t)c; *s = '\0'; return SERD_SUCCESS; |