diff options
Diffstat (limited to 'toolbox')
-rw-r--r-- | toolbox/grep/grep.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/toolbox/grep/grep.c b/toolbox/grep/grep.c index b5bb2ef..5a4fa0c 100644 --- a/toolbox/grep/grep.c +++ b/toolbox/grep/grep.c @@ -294,10 +294,8 @@ read_patterns(const char *fn) err(2, "%s", fn); line = NULL; len = 0; -#ifndef ANDROID while ((rlen = getline(&line, &len, f)) != -1) add_pattern(line, *line == '\n' ? 0 : (size_t)rlen); -#endif free(line); if (ferror(f)) err(2, "%s", fn); |