avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] GCC Functions


From: Paulo Abreu
Subject: Re: [avr-gcc-list] GCC Functions
Date: Tue, 27 Nov 2001 10:44:21 +0000

>This is basically a do-nothing, since ledlight is already 0x0 (per
>definition, since it's a global variable).

An opinion: initializing a variable to 0 is not a C standard. So, it
is not a good approach assuming that all compilers will act as you
state. Code will be more portable if you follow standards.

Regards,

Paulo Abreu





reply via email to

[Prev in Thread] Current Thread [Next in Thread]