diff options
author | Max Kellermann <max@duempel.org> | 2008-10-03 11:51:53 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-03 11:51:53 +0200 |
commit | aef462cd9dfcf7573e7bc6e812f0c75ddde359f6 (patch) | |
tree | dfaa9db384f0ce4e1f7f0fa39c9c766dda5dffc6 /src/support.c | |
parent | 44ecb3b869a8106475b984b4a0d212f9b3b3a219 (diff) | |
download | mpd-aef462cd9dfcf7573e7bc6e812f0c75ddde359f6.tar.gz mpd-aef462cd9dfcf7573e7bc6e812f0c75ddde359f6.tar.xz mpd-aef462cd9dfcf7573e7bc6e812f0c75ddde359f6.zip |
support: removed unused function remove_trailing_slash()
Diffstat (limited to 'src/support.c')
-rw-r--r-- | src/support.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/support.c b/src/support.c index 3ceac5a3a..bfcd07025 100644 --- a/src/support.c +++ b/src/support.c @@ -26,23 +26,6 @@ #include <ctype.h> #include <string.h> -#define BUFSIZE 1024 - -char * -remove_trailing_slash(char *path) -{ - int len; - - if (path == NULL) - return NULL; - - len = strlen(path); - if (len > 1 && path[len - 1] == '/') - path[len - 1] = '\0'; - - return path; -} - #ifndef HAVE_STRCASESTR const char * strcasestr(const char *haystack, const char *needle) |