Reason for GPS problems found! / more patches
Mikko Rauhala
mjrauhal at cc.helsinki.fi
Tue Jul 22 17:39:24 CEST 2008
ti, 2008-07-22 kello 17:01 +0200, Alexey Feldgendler kirjoitti:
> On Tue, 22 Jul 2008 16:25:45 +0200, Andy Green <andy at openmoko.com> wrote:
> > static int sd_drive;
>
> This doesn't seem like zero initialization to me.
Static is initialized to zero. But indeed, I too noticed this from the
patch, and would make it explicit to be more clear.
(Shan't bother to check if the C standard actually allows it to be
merely zeroed bits but nonzero when interpreted as an int...)
--
Mikko Rauhala - mjr at iki.fi - <URL:http://www.iki.fi/mjr/>
Transhumanist - WTA member - <URL:http://www.transhumanism.org/>
Singularitarian - SIAI supporter - <URL:http://www.singinst.org/>
More information about the community
mailing list