aboutsummaryrefslogtreecommitdiffstats
path: root/src/content-parser.c
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2015-05-10 23:10:10 -0300
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2015-05-10 23:10:10 -0300
commitf987424ed9954239ec0a730b721700ac58c1bf1a (patch)
tree702112d8935ab60b62597d3d0a98a492c9313aef /src/content-parser.c
parent15d3beecdd227c08df600336dff9ecd2d5979136 (diff)
downloadblogc-f987424ed9954239ec0a730b721700ac58c1bf1a.tar.gz
blogc-f987424ed9954239ec0a730b721700ac58c1bf1a.tar.bz2
blogc-f987424ed9954239ec0a730b721700ac58c1bf1a.zip
fixed a few issues reported by clang's static analyzer
Diffstat (limited to 'src/content-parser.c')
-rw-r--r--src/content-parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content-parser.c b/src/content-parser.c
index ea41852..f19b800 100644
--- a/src/content-parser.c
+++ b/src/content-parser.c
@@ -306,7 +306,7 @@ blogc_content_parse(const char *src)
char *parsed = NULL;
char **tmpv = NULL;
- char d;
+ char d = '\0';
b_slist_t *lines = NULL;