aboutsummaryrefslogtreecommitdiffstats
path: root/core.lv2/lv2config.c
diff options
context:
space:
mode:
Diffstat (limited to 'core.lv2/lv2config.c')
-rw-r--r--core.lv2/lv2config.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/core.lv2/lv2config.c b/core.lv2/lv2config.c
index 1bb4b68..df647e7 100644
--- a/core.lv2/lv2config.c
+++ b/core.lv2/lv2config.c
@@ -291,7 +291,6 @@ mkdir_parents(const char* dir_path)
{
char* path = strdup(dir_path);
const size_t path_len = strlen(path);
- size_t last_sep = 0;
for (size_t i = 1; i <= path_len; ++i) {
if (path[i] == LV2CORE_DIR_SEP[0]) {
path[i] = '\0';
@@ -302,7 +301,6 @@ mkdir_parents(const char* dir_path)
return 1;
}
path[i] = LV2CORE_DIR_SEP[0];
- last_sep = i;
}
}