diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-02-02 16:12:33 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-02-06 23:16:17 -0500 |
commit | 0783951b931cb2743a43cbfdc37babd76fedd2fe (patch) | |
tree | c380be5daf40a7537d9f3fcb43c40fee631d9ca0 /src/shared/path-util.c | |
parent | 874310b7b68c4c0d36ff07397db30a959bb7dae5 (diff) |
shared: remove now unused function
Diffstat (limited to 'src/shared/path-util.c')
-rw-r--r-- | src/shared/path-util.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/shared/path-util.c b/src/shared/path-util.c index 4857971b33..ae12c05317 100644 --- a/src/shared/path-util.c +++ b/src/shared/path-util.c @@ -214,26 +214,6 @@ char **path_strv_canonicalize(char **l) { return l; } -char **path_strv_remove_empty(char **l) { - char **f, **t; - - if (!l) - return NULL; - - for (f = t = l; *f; f++) { - - if (dir_is_empty(*f) > 0) { - free(*f); - continue; - } - - *(t++) = *f; - } - - *t = NULL; - return l; -} - char *path_kill_slashes(char *path) { char *f, *t; bool slash = false; |