From 2599bee158206e96b30b3dc8a6f49aa8ada40975 Mon Sep 17 00:00:00 2001
From: Cyrille Bagard <nocbos@gmail.com>
Date: Sat, 17 Apr 2021 20:42:38 +0200
Subject: Fix a compilation warning about a label defined but not used.

---
 src/core/paths.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/core/paths.c b/src/core/paths.c
index 0bb59e7..21540bd 100644
--- a/src/core/paths.c
+++ b/src/core/paths.c
@@ -206,9 +206,13 @@ char *get_effective_directory_new(TargetDirectoryType type)
 
     }
 
+#ifdef DISCARD_LOCAL
+
+#   ifdef PYTHON_PACKAGE
+
  bad_sync:
 
-#ifdef DISCARD_LOCAL
+#   endif
 
     free(dyn_path_tmp);
 
-- 
cgit v0.11.2-87-g4458