projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
819f39d
)
Remove unnecessary cast of alloca, since now it's guaranteed to be (void *).
author
Jim Meyering
<jim@meyering.net>
Sun, 28 Sep 2003 08:20:52 +0000
(08:20 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sun, 28 Sep 2003 08:20:52 +0000
(08:20 +0000)
src/join.c
patch
|
blob
|
history
diff --git
a/src/join.c
b/src/join.c
index
b4d1cbb
..
694a18e
100644
(file)
--- a/
src/join.c
+++ b/
src/join.c
@@
-685,7
+685,7
@@
add_field_list (const char *c_str)
char *p, *str;
/* Make a writable copy of c_str. */
- str =
(char *)
alloca (strlen (c_str) + 1);
+ str = alloca (strlen (c_str) + 1);
strcpy (str, c_str);
p = str;