[flac-dev] [PATCH] cpu.c: initialize a variable

Erik de Castro Lopo mle+la at mega-nerd.com
Tue Oct 13 12:36:10 PDT 2015


lvqcl wrote:

> > My approach would be:
> >
> >      memset (fxsr.buff, 0, sizeof (fxsr.buff));
> >
> > What do you think?
> 
> It won't hurt but probably superfluous.

Appled the memset version as its intent is a little more obvious.

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/


More information about the flac-dev mailing list