[Mesa-dev] [PATCH] intel: common: silence compiler warning
Jordan Justen
jordan.l.justen at intel.com
Fri Oct 27 19:51:11 UTC 2017
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
On 2017-10-27 09:44:14, Lionel Landwerlin wrote:
> Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
> ---
> src/intel/common/gen_decoder.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/intel/common/gen_decoder.c b/src/intel/common/gen_decoder.c
> index 395ff02908a..55e7305117c 100644
> --- a/src/intel/common/gen_decoder.c
> +++ b/src/intel/common/gen_decoder.c
> @@ -556,7 +556,7 @@ gen_spec_load(const struct gen_device_info *devinfo)
> {
> struct parser_context ctx;
> void *buf;
> - uint8_t *text_data;
> + uint8_t *text_data = NULL;
> uint32_t text_offset = 0, text_length = 0, total_length;
> uint32_t gen_10 = devinfo_to_gen(devinfo);
>
> --
> 2.15.0.rc2
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list