diff options
Diffstat (limited to 'common/config-file.cpp')
-rw-r--r-- | common/config-file.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/common/config-file.cpp b/common/config-file.cpp index af991b931d..eef70ef1b9 100644 --- a/common/config-file.cpp +++ b/common/config-file.cpp @@ -32,19 +32,6 @@ namespace Common { -static char *ltrim(char *t) { - while (isspace(*t)) - t++; - return t; -} - -static char *rtrim(char *t) { - int l = strlen(t) - 1; - while (l >= 0 && isspace(t[l])) - t[l--] = 0; - return t; -} - /** * Check whether the given string is a valid section or key name. * For that, it must only consist of letters, numbers, dashes and |