Remove stupid assignation in memcpy()

dev
Roberto E. Vargas Caballero 2016-04-15 07:58:26 +02:00
parent 39964614b7
commit 66556d9670
1 changed files with 2 additions and 2 deletions

2
st.c
View File

@ -1404,7 +1404,7 @@ stty(void)
if ((n = strlen(s)) > siz-1) if ((n = strlen(s)) > siz-1)
die("stty parameter length too long\n"); die("stty parameter length too long\n");
*q++ = ' '; *q++ = ' ';
q = memcpy(q, s, n); memcpy(q, s, n);
q += n; q += n;
siz -= n + 1; siz -= n + 1;
} }