aboutsummaryrefslogtreecommitdiff
path: root/src/vcal.c
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2019-05-01 20:51:08 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2019-05-01 20:51:08 +0200
commit7e0108c990397a7d8a87c7b5b0a568fbe6b1d8b4 (patch)
tree321fb36b59d5822905f3bc0cf0971417140e812f /src/vcal.c
parentAdd names to components of 'attr'. (diff)
downloadcalp-7e0108c990397a7d8a87c7b5b0a568fbe6b1d8b4.tar.gz
calp-7e0108c990397a7d8a87c7b5b0a568fbe6b1d8b4.tar.xz
Micro-optimizations with huge impact.
Diffstat (limited to 'src/vcal.c')
-rw-r--r--src/vcal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vcal.c b/src/vcal.c
index c0ac6182..3c9885ba 100644
--- a/src/vcal.c
+++ b/src/vcal.c
@@ -42,6 +42,7 @@ INIT_F(vcomponent) {
self->parent = NULL;
self->scm = NULL;
+ self->scmtype = NULL;
return 0;
@@ -74,6 +75,7 @@ INIT_F(vcomponent, const char* type, const char* filename) {
self->parent = NULL;
self->scm = NULL;
+ self->scmtype = NULL;
return 0;
}