aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-05-12 03:06:23 +0000
committerDavid Robillard <d@drobilla.net>2011-05-12 03:06:23 +0000
commite8920f2670f921dace8dba4e3f6f93f35b687098 (patch)
tree3b2e41b4485e0b987262576e321e3258513932a0
parentb31927de2dfae882f6c77de1efd18136b15794c3 (diff)
downloadserd-e8920f2670f921dace8dba4e3f6f93f35b687098.tar.gz
serd-e8920f2670f921dace8dba4e3f6f93f35b687098.tar.bz2
serd-e8920f2670f921dace8dba4e3f6f93f35b687098.zip
Tidy.
git-svn-id: http://svn.drobilla.net/serd/trunk@172 490d8e77-9747-427b-9fa3-0b8f29cee8a0
-rw-r--r--src/node.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node.c b/src/node.c
index e4bb87cf..b19e11f4 100644
--- a/src/node.c
+++ b/src/node.c
@@ -49,8 +49,8 @@ SERD_API
SerdNode
serd_node_from_string(SerdType type, const uint8_t* buf)
{
- uint32_t flags;
- size_t buf_n_bytes;
+ uint32_t flags = 0;
+ size_t buf_n_bytes = 0;
const size_t buf_n_chars = serd_strlen(buf, &buf_n_bytes, &flags);
SerdNode ret = { buf, buf_n_bytes, buf_n_chars, flags, type };
return ret;