Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7c65c0b7 authored by Jordan Crouse's avatar Jordan Crouse
Browse files

drm/msm/sde: Fix a uninitalized variable compiler warning



The gcc compiler 6.1.1 complains that 'ret' is uninitalized in
_sde_encoder_rsc_client_update_vsync_wait.

Change-Id: Ic0dedbad3347552a73abe3fc6e2cfc2eda4ed391
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent 7af8c919
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1827,7 +1827,7 @@ static int _sde_encoder_rsc_client_update_vsync_wait(
	struct drm_encoder *drm_enc, struct sde_encoder_virt *sde_enc,
	int wait_vblank_crtc_id)
{
	int wait_refcount = 0, ret;
	int wait_refcount = 0, ret = 0;
	int pipe = -1;
	int wait_count = 0;
	struct drm_crtc *primary_crtc;