[Mesa-dev] [PATCH 03/12] rbug: Silence warning

Alan Coopersmith alan.coopersmith at oracle.com
Mon Jan 9 15:01:49 PST 2012


On 01/ 9/12 02:53 PM, Jakob Bornecrantz wrote:
> -   struct pipe_shader_state pss = { 0 };
> +   struct pipe_shader_state pss;
> +   memset(&pss, 0, sizeof(pss));

Those do the same thing, just via a function call instead of compiler builtin.
What warning is being silenced by that change?

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the mesa-dev mailing list