diff options
author | David Robillard <d@drobilla.net> | 2011-02-04 06:08:02 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-02-04 06:08:02 +0000 |
commit | 4271de2ee1830bb73bcb96828a32303ee1f2ad18 (patch) | |
tree | 32def066083670375b983df7ff166c8868ecaed2 /src/world.c | |
parent | 77a78c6535a62bdadbf780a069aa47a4bfd01805 (diff) | |
download | lilv-4271de2ee1830bb73bcb96828a32303ee1f2ad18.tar.gz lilv-4271de2ee1830bb73bcb96828a32303ee1f2ad18.tar.bz2 lilv-4271de2ee1830bb73bcb96828a32303ee1f2ad18.zip |
Fix warnings when building with --strict (but without --debug).
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2909 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/world.c')
-rw-r--r-- | src/world.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/world.c b/src/world.c index 08de7ab..6f66fc3 100644 --- a/src/world.c +++ b/src/world.c @@ -541,9 +541,9 @@ slv2_world_load_plugin_classes(SLV2World world) const uint8_t* label = (const uint8_t*)sord_node_get_string(label_node); slv2_match_end(labels); - SLV2PluginClasses classes = world->plugin_classes; - const unsigned n_classes = ((GPtrArray*)classes)->len; + SLV2PluginClasses classes = world->plugin_classes; #ifndef NDEBUG + const unsigned n_classes = ((GPtrArray*)classes)->len; if (n_classes > 0) { // Class results are in increasing sorted order SLV2PluginClass prev = g_ptr_array_index((GPtrArray*)classes, |