aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/acid
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2011-01-02 18:30:22 -0500
committerRuss Cox <rsc@swtch.com>2011-01-02 18:30:22 -0500
commita8bf49f9cb752e9862200421b9ba4bbf5c24a735 (patch)
tree6af05ab2f30ff8c872a75b1b102eb11e049420be /src/cmd/acid
parent5e90ec75ee98d867c7917e4f42a8a66d33f42647 (diff)
downloadplan9port-a8bf49f9cb752e9862200421b9ba4bbf5c24a735.tar.gz
plan9port-a8bf49f9cb752e9862200421b9ba4bbf5c24a735.tar.bz2
plan9port-a8bf49f9cb752e9862200421b9ba4bbf5c24a735.zip
acid: fix build
R=rsc http://codereview.appspot.com/3784048
Diffstat (limited to 'src/cmd/acid')
-rw-r--r--src/cmd/acid/exec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cmd/acid/exec.c b/src/cmd/acid/exec.c
index c6b07842..a8319b64 100644
--- a/src/cmd/acid/exec.c
+++ b/src/cmd/acid/exec.c
@@ -205,7 +205,7 @@ convflt(Node *r, char *flt)
void
indir(Map *m, ulong addr, char fmt, Node *r)
{
- int i, j, k;
+ int i;
u32int ival;
u64int vval;
int ret;
@@ -285,7 +285,6 @@ indir(Map *m, ulong addr, char fmt, Node *r)
ret = get4(m, addr, &ival);
if (ret < 0)
error("indir: %r");
- rval = ival;
memmove(buf+i, &ival, 4);
addr += 4;
if(ival == 0)