summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2021-04-18 20:21:09 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2021-04-18 20:21:09 (GMT)
commit5b476b9e4774885dd403ad30d1b1212e7e03613b (patch)
treef397b673d0a2e6b85478f6d697343e95db3f8652 /src/core
parent2599bee158206e96b30b3dc8a6f49aa8ada40975 (diff)
Fix a compilation warning.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/paths.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/paths.c b/src/core/paths.c
index 21540bd..5902e83 100644
--- a/src/core/paths.c
+++ b/src/core/paths.c
@@ -216,10 +216,10 @@ char *get_effective_directory_new(TargetDirectoryType type)
free(dyn_path_tmp);
-#endif
-
exit:
+#endif
+
assert(result != NULL);
return result;