diff options
author | Jesper Juhl <jesper.juhl@gmail.com> | 2005-09-06 18:17:55 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-07 19:57:36 -0400 |
commit | 1e1a5cc77ec019e0d67c2abcbd486e4f3ac947a4 (patch) | |
tree | 053fa3ea31a4e770cefdf8a704fb4b8378aca7e4 /drivers | |
parent | 96803820b3d9830518083c02681fd3f72987ae4d (diff) |
[PATCH] isdn_v110 warning fix
Here's a small warning fix for drivers/isdn/i4l/isdn_v110.c
drivers/isdn/i4l/isdn_v110.c:523: warning: `ret' might be used uninitialized in this function
In addition to Karsten Keil signing off on the patch, Thomas Pfeiffer also
commented on the patch, saying
"initializing ret with the value zero is correct and should be done."
Please apply.
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/isdn/i4l/isdn_v110.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/i4l/isdn_v110.c b/drivers/isdn/i4l/isdn_v110.c index f47f2b9846d8..38619e8cd823 100644 --- a/drivers/isdn/i4l/isdn_v110.c +++ b/drivers/isdn/i4l/isdn_v110.c | |||
@@ -516,11 +516,11 @@ buffer_full: | |||
516 | } | 516 | } |
517 | 517 | ||
518 | int | 518 | int |
519 | isdn_v110_stat_callback(int idx, isdn_ctrl * c) | 519 | isdn_v110_stat_callback(int idx, isdn_ctrl *c) |
520 | { | 520 | { |
521 | isdn_v110_stream *v = NULL; | 521 | isdn_v110_stream *v = NULL; |
522 | int i; | 522 | int i; |
523 | int ret; | 523 | int ret = 0; |
524 | 524 | ||
525 | if (idx < 0) | 525 | if (idx < 0) |
526 | return 0; | 526 | return 0; |