From 220c15d2b746878a943f311e6f66b1480e46491d Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sat, 20 Oct 2012 13:36:52 -0400 Subject: fix gcc 4.7 warnings (thanks Tuncer Ayaz) R=rsc http://codereview.appspot.com/6744053 --- src/libthread/iorw.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/libthread/iorw.c') 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 -- cgit v1.2.3