On Sat, Aug 21, 2010 at 11:43 AM, Florian Weimer <f...@deneb.enyo.de> wrote: > * H. J. Lu: > >> Sometime I have to do >> >> int x = 0; >> >> to silence gcc from uninitialized warnings when I know it is >> unnecessary. > > I guess the official idiom is > > int x = x;
That's what I thought as well, so I am confused. > and it is somewhat used in the GNU project although it is not > portable. Neither is any of the other suggestions. Richard.