forked from Minki/linux
drm/amd/display: Fix warning about uninitialized variable
Signed-off-by: Harry Wentland <harry.wentland@amd.com> Reviewed-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
b0f8d4e963
commit
4beb50ff5e
@ -361,7 +361,7 @@ static void program_grph_pixel_format(
|
||||
enum surface_pixel_format format)
|
||||
{
|
||||
uint32_t red_xbar = 0, blue_xbar = 0; /* no swap */
|
||||
uint32_t grph_depth, grph_format;
|
||||
uint32_t grph_depth = 0, grph_format = 0;
|
||||
uint32_t sign = 0, floating = 0;
|
||||
|
||||
if (format == SURFACE_PIXEL_FORMAT_GRPH_ABGR8888 ||
|
||||
|
Loading…
Reference in New Issue
Block a user