mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
Remove unnecessary cast of alloca, since now it's guaranteed to be (void *).
This commit is contained in:
1 parent
819f39dc9b
commit
9691f1611e
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user