From 9ffc32731bacbfec2cef3d9fb5eb4c0c43952b90 Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Tue, 13 Jan 2015 11:09:57 +0100 Subject: VPP: Fix Coverity alert on unitialized vpp_kernels uninit_use_in_call: Using unitialized value vpp_kernels when calling *vpp_gpe_ctx->gpe_load_kernels Change-Id: Id02c018db996e5fed7b5b573baa6425968060152 Bug-Tizen: TC-2098/part Forwarded: https://bugs.freedesktop.org/show_bug.cgi?id=88362 Signed-off-by: Philippe Coval --- src/gen75_vpp_gpe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gen75_vpp_gpe.c b/src/gen75_vpp_gpe.c index 042e4e6..16dd8db 100644 --- a/src/gen75_vpp_gpe.c +++ b/src/gen75_vpp_gpe.c @@ -648,7 +648,7 @@ vpp_gpe_process_sharpening(VADriverContextP ctx, if(vpp_gpe_ctx->is_first_frame){ vpp_gpe_ctx->sub_shader_sum = 3; - struct i965_kernel * vpp_kernels; + struct i965_kernel * vpp_kernels = 0; if (IS_HASWELL(i965->intel.device_info)) vpp_kernels = gen75_vpp_sharpening_kernels; else if (IS_GEN8(i965->intel.device_info)) -- cgit v1.2.3