From 82779a30a22f0638f619c98263270c61d605db73 Mon Sep 17 00:00:00 2001 From: idgay Date: Mon, 23 Jun 2008 23:43:37 +0000 Subject: [PATCH] deputize --- apps/tests/storage/Config/RandRWC.nc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/tests/storage/Config/RandRWC.nc b/apps/tests/storage/Config/RandRWC.nc index 60762134..a13763a1 100644 --- a/apps/tests/storage/Config/RandRWC.nc +++ b/apps/tests/storage/Config/RandRWC.nc @@ -37,7 +37,7 @@ implementation { int count, testCount, writeCount, countAtCommit; struct { uint32_t addr; - void *data; + void *COUNT_NOK(len) data; uint16_t len; } ops[NWRITES]; @@ -118,6 +118,7 @@ implementation { if (addr + len > SIZE) addr = SIZE - len; ops[i].addr = addr; + ops[i].data = NULL; ops[i].len = len; offset = rand() >> 8; if (offset + ops[i].len > sizeof data) -- 2.39.2