On Mon, Apr 19, 2004 at 10:26:38PM +0200, Martin Langer wrote:
> This bunch of patches fixes compiler warnings like these one:
> pcm_multi.c:646: warning: missing initializer
> pcm_multi.c:646: warning: (near initialization for
> snd_pcm_multi_ops.poll_revpcm_shm.c:589: warning: missing initializer  for
> snd_pcm_multi_ops.poll_revents')
> 
> But perhaps more interesting values than NULL are prefered.... Please review 
> before applying it.

gcc 2.95.4 and 3.0.4ive this warning, but 3.2.3 and 3.3.3 do not (with -Wall
-W, at least).  I think a large point of using this C99 syntax is to only
initialize what you want, and not clutter the code with lots of redundant
NULL initialization.

-- 
Glenn Maynard


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to