aboutsummaryrefslogtreecommitdiff
path: root/findutils/grep.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-12-22 18:37:07 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-12-22 18:37:07 +0000
commitfcdd3306620f9cf2317f222eebc7c0eced9d8a07 (patch)
tree1d9ac9a483f4ca245fff9925c30a7f842d9b51ca /findutils/grep.c
parentd4515e6f2625e0afa649876840fef2eae612f428 (diff)
downloadbusybox-w32-fcdd3306620f9cf2317f222eebc7c0eced9d8a07.tar.gz
busybox-w32-fcdd3306620f9cf2317f222eebc7c0eced9d8a07.tar.bz2
busybox-w32-fcdd3306620f9cf2317f222eebc7c0eced9d8a07.zip
remove useless casts (type*) xzalloc(...)
git-svn-id: svn://busybox.net/trunk/busybox@17059 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'findutils/grep.c')
-rw-r--r--findutils/grep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/findutils/grep.c b/findutils/grep.c
index 8bb38f95c..76f656237 100644
--- a/findutils/grep.c
+++ b/findutils/grep.c
@@ -360,7 +360,7 @@ int grep_main(int argc, char **argv)
360 lines_before = 0; 360 lines_before = 0;
361 lines_after = 0; 361 lines_after = 0;
362 } else if (lines_before > 0) 362 } else if (lines_before > 0)
363 before_buf = (char **)xzalloc(lines_before * sizeof(char *)); 363 before_buf = xzalloc(lines_before * sizeof(char *));
364#else 364#else
365 /* with auto sanity checks */ 365 /* with auto sanity checks */
366 opt_complementary = "H-h:e::f::c-n:q-n:l-n"; 366 opt_complementary = "H-h:e::f::c-n:q-n:l-n";