aboutsummaryrefslogtreecommitdiffstats
path: root/src/env.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/env.c')
-rw-r--r--src/env.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/env.c b/src/env.c
index 8f0b4632..b963bc75 100644
--- a/src/env.c
+++ b/src/env.c
@@ -156,9 +156,7 @@ serd_env_set_prefix_from_strings(SerdEnv* env,
const SerdNode name_node = serd_node_from_string(SERD_LITERAL, name);
const SerdNode uri_node = serd_node_from_string(SERD_URI, uri);
- SerdStatus ret = serd_env_set_prefix(env, &name_node, &uri_node);
-
- return ret;
+ return serd_env_set_prefix(env, &name_node, &uri_node);
}
static inline bool
@@ -267,8 +265,6 @@ serd_env_foreach(const SerdEnv* env,
void* handle)
{
for (size_t i = 0; i < env->n_prefixes; ++i) {
- func(handle,
- &env->prefixes[i].name,
- &env->prefixes[i].uri);
+ func(handle, &env->prefixes[i].name, &env->prefixes[i].uri);
}
}