aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-07-07 20:08:09 +0000
committerDavid Robillard <d@drobilla.net>2011-07-07 20:08:09 +0000
commit99488ef7b46dd1147de863cceef31eda5aa6ddd6 (patch)
treecda04f792c9f83fef45c6989c72bb209b5e4b906
parent5a838e44308db34ac30fc71c4fde5b570110b988 (diff)
downloadlv2-99488ef7b46dd1147de863cceef31eda5aa6ddd6.tar.xz
Remove unread variable
-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;
}
}