mirror of
https://github.com/golang/go.git
synced 2024-09-29 06:17:11 +00:00
cc: drop redundant strcpy
Fixes #192. R=ken2 https://golang.org/cl/155047
This commit is contained in:
parent
139a053733
commit
b18bee948e
@ -419,8 +419,6 @@ lookup(void)
|
||||
s = alloc(sizeof(*s));
|
||||
s->name = alloc(n);
|
||||
memmove(s->name, symb, n);
|
||||
|
||||
strcpy(s->name, symb);
|
||||
s->link = hash[h];
|
||||
hash[h] = s;
|
||||
syminit(s);
|
||||
|
Loading…
Reference in New Issue
Block a user