From c6a4fa2358a850b7c7dd4e65ab60516f98f7538d Mon Sep 17 00:00:00 2001 From: regehr Date: Wed, 4 Jun 2008 05:33:07 +0000 Subject: [PATCH] suppress a warning --- tos/chips/atm128/adc/AdcStreamP.nc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tos/chips/atm128/adc/AdcStreamP.nc b/tos/chips/atm128/adc/AdcStreamP.nc index 7d3701cc..3e25c495 100644 --- a/tos/chips/atm128/adc/AdcStreamP.nc +++ b/tos/chips/atm128/adc/AdcStreamP.nc @@ -144,7 +144,7 @@ implementation { atomic entry = bufferQueue[c]; for (; entry; entry = entry->next){ - uint16_t tmp_count = entry->count; + uint16_t tmp_count __DEPUTY_UNUSED__ = entry->count; signal ReadStream.bufferDone[c](FAIL, TCAST(uint16_t * COUNT_NOK(tmp_count),entry), entry->count); } -- 2.39.2