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

Commit f58d7856 authored by Márton Németh's avatar Márton Németh Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (13416): smssdio: initialize return value



The return value may be used uninitialized when the size parameter
happens to be 0.

Signed-off-by: default avatarMárton Németh <nm127@freemail.hu>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 296372e3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -78,7 +78,7 @@ struct smssdio_device {

static int smssdio_sendrequest(void *context, void *buffer, size_t size)
{
	int ret;
	int ret = 0;
	struct smssdio_device *smsdev;

	smsdev = context;