Commit 9e735985 authored by Russ Cox's avatar Russ Cox

avoid memcpy(x, x),

which valgrind complains about.

R=ken
OCL=23990
CL=23990
parent 6dd93bbf
......@@ -170,7 +170,7 @@ loop:
void
indir(Node *nl, Node *nr)
{
if(nr != N)
if(nr != N && nl != nr)
*nl = *nr;
}
......
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