From 99488ef7b46dd1147de863cceef31eda5aa6ddd6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 7 Jul 2011 20:08:09 +0000 Subject: Remove unread variable --- core.lv2/lv2config.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'core.lv2') 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; } } -- cgit v1.2.1