diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-03-22 23:18:36 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-03-22 23:18:36 +0100 |
commit | d315216f7c51e077a2d0dfd5223651891899d11f (patch) | |
tree | f1227229a84a6a4bcf7e9bc12eda191a2069ee62 | |
parent | Fix GET(TRIE(T)) erroring when target was a neighbour. (diff) | |
download | calp-d315216f7c51e077a2d0dfd5223651891899d11f.tar.gz calp-d315216f7c51e077a2d0dfd5223651891899d11f.tar.xz |
Add empty constructor for vcomponent.
Diffstat (limited to '')
-rw-r--r-- | src/vcal.c | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -31,9 +31,15 @@ #undef TYPE INIT_F(vcomponent) { - (void) self; - ERR("Do not use"); + INIT(TRIE(content_line), &self->clines); + INIT(LLIST(vcomponent), &self->components); + + self->type = NULL; + self->parent = NULL; + self->scm = NULL; + return 0; + } INIT_F(vcomponent, const char* type) { |