diff options
| author | Russ Cox <rsc@swtch.com> | 2012-10-20 13:36:52 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@swtch.com> | 2012-10-20 13:36:52 -0400 |
| commit | 220c15d2b746878a943f311e6f66b1480e46491d (patch) | |
| tree | b3235ff00e75b08680c0db754058ec908e2b2f22 /src/libthread | |
| parent | 53527a6e7864f5d681d7140f1403d4d8d42311d5 (diff) | |
| download | plan9port-220c15d2b746878a943f311e6f66b1480e46491d.tar.gz plan9port-220c15d2b746878a943f311e6f66b1480e46491d.zip | |
fix gcc 4.7 warnings (thanks Tuncer Ayaz)
R=rsc
http://codereview.appspot.com/6744053
Diffstat (limited to 'src/libthread')
| -rw-r--r-- | src/libthread/iorw.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libthread/iorw.c b/src/libthread/iorw.c index ce86d146..b69f9ec4 100644 --- a/src/libthread/iorw.c +++ b/src/libthread/iorw.c @@ -164,12 +164,11 @@ _ioread9pmsg(va_list *arg) int fd; void *a; int n; - int r; fd = va_arg(*arg, int); a = va_arg(*arg, void*); n = va_arg(*arg, int); - r = read9pmsg(fd, a, n); + read9pmsg(fd, a, n); return n; } int |
