diff options
author | Philippe Coval <philippe.coval@open.eurogiciel.org> | 2015-01-13 11:09:57 +0100 |
---|---|---|
committer | Philippe Coval <philippe.coval@open.eurogiciel.org> | 2015-01-13 11:31:24 +0100 |
commit | 9ffc32731bacbfec2cef3d9fb5eb4c0c43952b90 (patch) | |
tree | 268ed506de63e8582c358d58f31ed187467df11c | |
parent | 5b979df3557bb5fc82b73fd0e26b3dd0e6ad428a (diff) | |
download | libva-intel-driver-accepted/tizen_mobile.tar.gz libva-intel-driver-accepted/tizen_mobile.tar.bz2 libva-intel-driver-accepted/tizen_mobile.zip |
VPP: Fix Coverity alert on unitialized vpp_kernelsHEADtizen_4.0.m1_releasetizen_3.0_ivi_releasetizen_3.0.m2.a1_tv_releasetizen_3.0.m2.a1_mobile_releasetizen_3.0.m1_tv_releasetizen_3.0.m1_mobile_releasesubmit/tizen_unified/20170308.100414submit/tizen_ivi/20160217.000006submit/tizen_ivi/20160217.000000submit/tizen_3.0_ivi/20161010.000004submit/tizen_3.0_common/20161104.104000submit/tizen_3.0.m2/20170104.093753submit/tizen/20150114.092400accepted/tizen/wearable/20150114.124658accepted/tizen/unified/20170309.040129accepted/tizen/tv/20150114.113317accepted/tizen/mobile/20150114.121030accepted/tizen/ivi/20160218.025243accepted/tizen/ivi/20150115.062939accepted/tizen/common/20150114.103703accepted/tizen/3.0/ivi/20161011.050710accepted/tizen/3.0/common/20161114.111056tizen_3.0_ivitizen_3.0.m2tizen_3.0.m1_tvtizen_3.0.m1_mobiletizen_3.0.2015.q2_commontizen_3.0.2015.q1_commontizen_3.0.2014.q4_commontizen_3.0tizensandbox/pcoval/tizenaccepted/tizen_wearableaccepted/tizen_unifiedaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_iviaccepted/tizen_commonaccepted/tizen_3.0_iviaccepted/tizen_3.0_common
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 <philippe.coval@open.eurogiciel.org>
-rw-r--r-- | src/gen75_vpp_gpe.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |