diff options
| author | cinap_lenrek <cinap_lenrek@localhost> | 2011-05-13 09:08:27 +0000 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@localhost> | 2011-05-13 09:08:27 +0000 |
| commit | 545fc5e329dd80e766b4a1001a83b80855af877b (patch) | |
| tree | 0b363cd47db6770bcdb16be438652fe0bc7b151e | |
| parent | 76f99f7cb3731b3718209aee445ad409f184a3a9 (diff) | |
| download | plan9front-545fc5e329dd80e766b4a1001a83b80855af877b.tar.xz | |
rio: remove useless if()
| -rw-r--r-- | sys/src/cmd/rio/rio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/src/cmd/rio/rio.c b/sys/src/cmd/rio/rio.c index 04e0f8b54..ae1edcaf3 100644 --- a/sys/src/cmd/rio/rio.c +++ b/sys/src/cmd/rio/rio.c @@ -1243,8 +1243,7 @@ kbdproc(void *arg) } } n = e - p; - if(n > 0) - memmove(buf, p, n); + memmove(buf, p, n); p = buf + n; } close(fd); |
