]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
deputize
authoridgay <idgay>
Mon, 23 Jun 2008 23:43:37 +0000 (23:43 +0000)
committeridgay <idgay>
Mon, 23 Jun 2008 23:43:37 +0000 (23:43 +0000)
apps/tests/storage/Config/RandRWC.nc

index 6076213422c74ae9b074d05f4d2ad218ea808a69..a13763a194d3f696ae3f54d712f7e4059f5ff1de 100644 (file)
@@ -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)