Commit b18bee94 authored by Russ Cox's avatar Russ Cox

cc: drop redundant strcpy

Fixes #192.

R=ken2
https://golang.org/cl/155047
parent 139a0537
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment