diff options
author | ppatience0 <ppatience0@gmail.com> | 2013-05-06 20:51:18 -0400 |
---|---|---|
committer | ppatience0 <ppatience0@gmail.com> | 2013-05-06 20:51:18 -0400 |
commit | 36287edc888c537b9ee37ae8530bd9c5b35227a1 (patch) | |
tree | 5151657c5871fe6c1d7ba783726b2267ea991c5c /sys/src/ape/lib/ap/plan9/dup.c | |
parent | 517c0feacaede7dcba7dea95aef49d78c94e8c7c (diff) |
ape: remove unused variables
Diffstat (limited to 'sys/src/ape/lib/ap/plan9/dup.c')
-rw-r--r-- | sys/src/ape/lib/ap/plan9/dup.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/src/ape/lib/ap/plan9/dup.c b/sys/src/ape/lib/ap/plan9/dup.c index 37883be52..50842524f 100644 --- a/sys/src/ape/lib/ap/plan9/dup.c +++ b/sys/src/ape/lib/ap/plan9/dup.c @@ -11,8 +11,6 @@ dup(int oldd) int dup2(int oldd, int newd) { - int n; - if(newd < 0 || newd >= OPEN_MAX){ errno = EBADF; return -1; |