From 5b476b9e4774885dd403ad30d1b1212e7e03613b Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Sun, 18 Apr 2021 22:21:09 +0200 Subject: Fix a compilation warning. --- src/core/paths.c | 4 ++-- 1 file 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; -- cgit v0.11.2-87-g4458