[Mesa-dev] [PATCH 1/5] intel: silence uninitialized var warning

Chad Versace chad at chad-versace.us
Fri Oct 7 09:32:05 PDT 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

For patches 1, 2, 4, 5:
Reviewed-by: Chad Versace <chad at chad-versace.us>

Comments on patch 3.

- -- 
Chad Versace
chad at chad-versace.us

On 10/07/2011 07:30 AM, Brian Paul wrote:
> From: Brian Paul <brianp at vmware.com>
> 
> ---
>  src/mesa/drivers/dri/intel/intel_decode.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/src/mesa/drivers/dri/intel/intel_decode.c b/src/mesa/drivers/dri/intel/intel_decode.c
> index ac8d690..b4de42d 100644
> --- a/src/mesa/drivers/dri/intel/intel_decode.c
> +++ b/src/mesa/drivers/dri/intel/intel_decode.c
> @@ -881,7 +881,7 @@ decode_3d_1d(uint32_t *data, int count,
>  	     int *failures)
>  {
>      unsigned int len, i, c, idx, word, map, sampler, instr;
> -    char *format, *zformat, *type;
> +    char *format = "", *zformat, *type;
>      uint32_t opcode;
>  
>      struct {


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOjyc1AAoJEAIvNt057x8iR+MQAJ7XaGsspSVSMYiH+S6QHwop
Utc9fAQlhIovg5N0IisT0KzY/zyECHdxqMrrTjizq3ELfpV76armm3Q3ysK+Uyl6
gs1IrPyfYf1TfFA+RIzpyCXY4bUAsQBR88IzZMpd4JuXWP5EjwvtQb/Pg8SBDw9N
BhU/b+BokFD+w4ae8AXArHAWU/i+0virH9a9maEqaZEA1tNe0pwSg0m+XIgQUoR0
Hh7MS6YQfKXnwOo+tzeYdZa4LVvU3FKhfiviPHodACZ5zEqRltrURFJzr6sT9SzT
Boe4+COaMa7lPs52W3v+JzglF0Gxa7pHPbo4l8eoIZqlvTrJcRK4FlLtNtjwXCms
H0IOrw6+XeHEwM9XpUjQlErtZCFOsVti/8NOaG4uo6pVYcvjg1XPYtvmO1PQDGOL
AwY47hxGLjVwZUy6VDCOTxQQSuHFRxZsBywUNrP7oQ6nGbd4F6k6sj+Ka0j2kGsm
6K++uiJLiQcDAsgh5062U3JagpjtRLvaW/QE4nz1zsdUEhPEQn0sfbdDhgYilGxj
WfNgT28eC+lhAz/yWzxRoADQbwaINJaurNf7qs2GXdxdLCmqHDdO4LW4aeF7BAYF
nTE7pzSswuMLO9FbEq74P965m+R2eR0RSb9UtfyW/fU7Jx1BcpRayHmCsdcn8YH1
KGdkl0yuJbo05XHUlMLL
=d7EK
-----END PGP SIGNATURE-----


More information about the mesa-dev mailing list