diff options
author | David Robillard <d@drobilla.net> | 2012-07-06 21:14:06 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-07-06 21:14:06 +0000 |
commit | 41c0e1215fca74d314f7b13867d2b1f4cf03aac1 (patch) | |
tree | 8868c4c7cb2e23a14a0efae441da3df99ccac0c7 /src/sord.c | |
parent | 72f3d5b2be13c68c123294f0c379e1e83132411c (diff) | |
download | sord-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/sord.c')
-rw-r--r-- | src/sord.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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; } |