summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-07-06 21:14:06 +0000
committerDavid Robillard <d@drobilla.net>2012-07-06 21:14:06 +0000
commit41c0e1215fca74d314f7b13867d2b1f4cf03aac1 (patch)
tree8868c4c7cb2e23a14a0efae441da3df99ccac0c7 /src
parent72f3d5b2be13c68c123294f0c379e1e83132411c (diff)
downloadsord-41c0e1215fca74d314f7b13867d2b1f4cf03aac1.tar.gz
sord-41c0e1215fca74d314f7b13867d2b1f4cf03aac1.tar.bz2
sord-41c0e1215fca74d314f7b13867d2b1f4cf03aac1.zip
Fix uninitialized values.
git-svn-id: http://svn.drobilla.net/sord/trunk@227 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'src')
-rw-r--r--src/sord.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/sord.c b/src/sord.c
index 5d7c075..56c9d05 100644
--- a/src/sord.c
+++ b/src/sord.c
@@ -182,10 +182,12 @@ SordWorld*
sord_world_new(void)
{
SordWorld* world = (SordWorld*)malloc(sizeof(SordWorld));
- world->names = zix_hash_new(zix_string_hash, zix_string_equal);
- world->langs = zix_hash_new(zix_string_hash, zix_string_equal);
- world->literals = zix_hash_new(sord_literal_hash, sord_literal_equal);
- world->n_nodes = 0;
+ world->names = zix_hash_new(zix_string_hash, zix_string_equal);
+ world->langs = zix_hash_new(zix_string_hash, zix_string_equal);
+ world->literals = zix_hash_new(sord_literal_hash, sord_literal_equal);
+ world->n_nodes = 0;
+ world->error_sink = NULL;
+ world->error_handle = NULL;
return world;
}