diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-01-22 14:58:07 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-01-22 14:58:07 +0100 |
commit | b0def51bf3ad5c176e05e9e93fb5b303c9b0d6ee (patch) | |
tree | 2c1658de6ef4055395a565fce62aa583d297b85b /vcal.c | |
parent | Makefile now places .o files in subdir. (diff) | |
download | calp-b0def51bf3ad5c176e05e9e93fb5b303c9b0d6ee.tar.gz calp-b0def51bf3ad5c176e05e9e93fb5b303c9b0d6ee.tar.xz |
Clean up a number of comments, and remove TODO's.
Diffstat (limited to 'vcal.c')
-rw-r--r-- | vcal.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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; } |