diff mbox

smssdio: initialize return value

Message ID 4B09B29F.7090502@freemail.hu (mailing list archive)
State Accepted
Headers show

Commit Message

Németh Márton Nov. 22, 2009, 9:52 p.m. UTC
None
diff mbox

Patch

diff -r bc16afd1e7a4 linux/drivers/media/dvb/siano/smssdio.c
--- a/linux/drivers/media/dvb/siano/smssdio.c	Sat Nov 21 12:01:36 2009 +0100
+++ b/linux/drivers/media/dvb/siano/smssdio.c	Sun Nov 22 22:40:31 2009 +0100
@@ -78,7 +78,7 @@ 

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

 	smsdev = context;