[En-Nut-Discussion] Hardware Register Access Using Volatile Pointer
harald.kipp at egnite.de
Tue Apr 26 19:29:41 CEST 2011
On 4/26/2011 6:32 PM, Bernd Walter wrote:
> On Tue, Apr 26, 2011 at 02:26:16PM +0200, Harald Kipp wrote:
>> On 4/26/2011 12:59 PM, Bernd Walter wrote:
>>> (void) dummy;
>> What? Is this some secret in the language I'm not aware of, or just a
>> typo, meaning
> It cast's away the warning in that you declare the dummy variable
> to be intentionally unused.
I didn't know that. Quite handsome. If I got that right, we can use this
instead of Nathan's FAKE_USE(x).
More information about the En-Nut-Discussion