public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] isdn_v110 warning fix
@ 2005-08-29 23:05 Jesper Juhl
  2005-08-30  8:20 ` Alexey Dobriyan
  2005-08-30 10:51 ` Karsten Keil
  0 siblings, 2 replies; 6+ messages in thread
From: Jesper Juhl @ 2005-08-29 23:05 UTC (permalink / raw)
  To: Linux Kernel Mailing List
  Cc: Thomas Pfeiffer, isdn4linux, Karsten Keil, Kai Germaschewski


Warning fix :
 drivers/isdn/i4l/isdn_v110.c:523: warning: `ret' might be used uninitialized in this function

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
---

 drivers/isdn/i4l/isdn_v110.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

--- linux-2.6.13-orig/drivers/isdn/i4l/isdn_v110.c	2005-08-29 01:41:01.000000000 +0200
+++ linux-2.6.13/drivers/isdn/i4l/isdn_v110.c	2005-08-30 00:59:34.000000000 +0200
@@ -516,11 +516,11 @@
 }
 
 int
-isdn_v110_stat_callback(int idx, isdn_ctrl * c)
+isdn_v110_stat_callback(int idx, isdn_ctrl *c)
 {
 	isdn_v110_stream *v = NULL;
 	int i;
-	int ret;
+	int ret = 0;
 
 	if (idx < 0)
 		return 0;

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-08-30 13:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-29 23:05 [PATCH] isdn_v110 warning fix Jesper Juhl
2005-08-30  8:20 ` Alexey Dobriyan
2005-08-30  8:42   ` Thomas Pfeiffer
2005-08-30 11:25   ` Jesper Juhl
2005-08-30 10:51 ` Karsten Keil
2005-08-30 13:47   ` Jesper Juhl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox