diff options
Diffstat (limited to 'src/XpathTokenizer.c')
-rw-r--r-- | src/XpathTokenizer.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/XpathTokenizer.c b/src/XpathTokenizer.c index 32bede9..ae17939 100644 --- a/src/XpathTokenizer.c +++ b/src/XpathTokenizer.c @@ -91,14 +91,3 @@ int quickmedia_xpath_tokenizer_next_if(QuickMediaXpathTokenizer *self, QuickMedi self->code = restore_point; return -1; } - -char* quickmedia_xpath_tokenizer_copy_identifier(QuickMediaXpathTokenizer *self) { - char *result = malloc(self->identifier.size + 1); - result[self->identifier.size] = '\0'; - memcpy(result, self->identifier.data, self->identifier.size); - return result; -} - -char* quickmedia_xpath_tokenizer_copy_string(QuickMediaXpathTokenizer *self) { - return quickmedia_xpath_tokenizer_copy_identifier(self); -} |