cc: drop redundant strcpy

Fixes #192.

R=ken2
https://golang.org/cl/155047
This commit is contained in:
Russ Cox 2009-11-15 00:00:05 -08:00
parent 139a053733
commit b18bee948e

View File

@ -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);