diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-12-03 18:56:33 +0100 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-12-03 18:56:33 +0100 |
commit | 3ea8cd037dcd5a8439baceadc8df70664eff701c (patch) | |
tree | 666eeca05e2b1c77bd5d0a117e2003f206b19183 /src/cli/report.cpp | |
parent | 3433c06718591fe930b9ae99501d0aa0f52b3f9c (diff) | |
download | abrt-3ea8cd037dcd5a8439baceadc8df70664eff701c.tar.gz abrt-3ea8cd037dcd5a8439baceadc8df70664eff701c.tar.xz abrt-3ea8cd037dcd5a8439baceadc8df70664eff701c.zip |
preparatory patch: add -v to abrt-cli; remove unused func; make func static
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/cli/report.cpp')
-rw-r--r-- | src/cli/report.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/cli/report.cpp b/src/cli/report.cpp index 27e12ac8..88154d53 100644 --- a/src/cli/report.cpp +++ b/src/cli/report.cpp @@ -435,25 +435,6 @@ static void read_from_stdin(const char *question, char *result, int result_size) strchrnul(result, '\n')[0] = '\0'; } -/** Splits a string into substrings using chosen delimiters. - * @param delim - * Specifies a set of characters that delimit the - * tokens in the parsed string - */ -static GList *split(const char *s, const char delim) -{ - GList *elems = NULL; - while (1) - { - const char *end = strchrnul(s, delim); - elems = g_list_append(elems, xstrndup(s, end - s)); - if (*end == '\0') - break; - s = end + 1; - } - return elems; -} - /** * Asks a [y/n] question on stdin/stdout. * Returns true if the answer is yes, false otherwise. |