diff options
author | David Robillard <d@drobilla.net> | 2024-10-06 14:38:19 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-10-11 14:10:27 -0400 |
commit | 0a2de34d4fdcedf87e101a309aaa180fcdf18fcc (patch) | |
tree | 3932ab3a3ccea5b5dd56527afe5f046a83cc3f8c /test/test_no_author.c | |
parent | a07a8818f22bfa6b467093f1efd287e86983fdf1 (diff) | |
download | lilv-0a2de34d4fdcedf87e101a309aaa180fcdf18fcc.tar.gz lilv-0a2de34d4fdcedf87e101a309aaa180fcdf18fcc.tar.bz2 lilv-0a2de34d4fdcedf87e101a309aaa180fcdf18fcc.zip |
Add missing const qualifiers
Diffstat (limited to 'test/test_no_author.c')
-rw-r--r-- | test/test_no_author.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/test_no_author.c b/test/test_no_author.c index 396ae9e..1a2b8dd 100644 --- a/test/test_no_author.c +++ b/test/test_no_author.c @@ -47,8 +47,8 @@ static const char* const plugin_ttl = "\ int main(void) { - LilvTestEnv* const env = lilv_test_env_new(); - LilvWorld* const world = env->world; + LilvTestEnv* const env = lilv_test_env_new(); + const LilvWorld* const world = env->world; if (create_bundle(env, "no_author.lv2", SIMPLE_MANIFEST_TTL, plugin_ttl)) { return 1; @@ -61,13 +61,13 @@ main(void) const LilvPlugin* plug = lilv_plugins_get_by_uri(plugins, env->plugin1_uri); assert(plug); - LilvNode* author_name = lilv_plugin_get_author_name(plug); + const LilvNode* author_name = lilv_plugin_get_author_name(plug); assert(!author_name); - LilvNode* author_email = lilv_plugin_get_author_email(plug); + const LilvNode* author_email = lilv_plugin_get_author_email(plug); assert(!author_email); - LilvNode* author_homepage = lilv_plugin_get_author_homepage(plug); + const LilvNode* author_homepage = lilv_plugin_get_author_homepage(plug); assert(!author_homepage); delete_bundle(env); |