From a884e31a8e9464759ac234b3c28f552c05682128 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 26 Feb 2019 15:12:26 +0100 Subject: Cleanup. --- vcal.c | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'vcal.c') diff --git a/vcal.c b/vcal.c index 94be9399..42342d93 100644 --- a/vcal.c +++ b/vcal.c @@ -59,30 +59,6 @@ INIT_F(vcomponent, const char* type, const char* filename) { return 0; } -#if 0 -content_line* RESOLVE(content_line) - (content_line* dest, content_line* new_) -{ - if (dest == NULL) return new_; - - /* - if (strbuf_cmp(&dest->key, &new_->key) != 0) { - ERR("Can't resolve between these two types"); - return NULL; - } - */ - - /* This destroys new_->val. */ - //APPEND(LLIST(content_set)) (&dest->val, &new_->val); - APPEND(LLIST(content_set)) (dest, new_); - - // FREE(strbuf)(&new_->key); - free(new_); - - return dest; -} -#endif - content_line* get_property (vcomponent* ev, const char* key) { size_t len = strlen(key) + 1; char* cpy = (char*) (calloc(sizeof(*cpy), len)); -- cgit v1.2.3