pvr: zero-initialize variable
Because of incomplete codepaths further down in this function, we end up trying to use this variable without initialization. Let's initialize it to zero, just to keep the compiler happy. This avoids a compile-time warning, which would get treated as an error on CI. Reviewed-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15525>
This commit is contained in:
parent
fd7203ce80
commit
80a2974826
|
@ -3418,7 +3418,7 @@ static uint32_t pvr_calc_fscommon_size_and_tiles_in_flight(
|
|||
num_allocs = PVR_GET_FEATURE_VALUE(dev_info, num_raster_pipes, 0U);
|
||||
} else {
|
||||
uint32_t num_phantoms = rogue_get_num_phantoms(dev_info);
|
||||
uint32_t min_cluster_per_phantom;
|
||||
uint32_t min_cluster_per_phantom = 0;
|
||||
|
||||
if (num_phantoms > 1) {
|
||||
pvr_finishme("Unimplemented path!!");
|
||||
|
|
Loading…
Reference in New Issue