From b0def51bf3ad5c176e05e9e93fb5b303c9b0d6ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 22 Jan 2019 14:58:07 +0100 Subject: Clean up a number of comments, and remove TODO's. --- vcal.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'vcal.c') diff --git a/vcal.c b/vcal.c index cb7adec3..65caaa26 100644 --- a/vcal.c +++ b/vcal.c @@ -13,12 +13,10 @@ int CONSTRUCTOR_DECL(vevent) { } content_line* get_property (vevent* ev, char* key) { - // return HASH_GET(content_line)(&ev->clines, key); return TRIE_GET(content_line)(&ev->clines, key); } int add_content_line (vevent* ev, content_line* c) { - // return HASH_PUT(content_line)(&ev->clines, c); // TODO memmory safety on strbuf? return TRIE_PUT(content_line)(&ev->clines, c->key.mem, c); } @@ -41,18 +39,14 @@ int CONSTRUCTOR_DECL(content_line, int keylen, int vallen) { int content_line_copy (content_line* dest, content_line* src) { strbuf_init_copy(&dest->key, &src->key); strbuf_init_copy(&dest->val, &src->val); - // TODO remaining fields - return 0; } int FREE_DECL(content_line) { FREE(strbuf)(&this->key); FREE(strbuf)(&this->val); - // TODO remaining fields - return 0; } -- cgit v1.2.3