History

[media] lirc: silence some compile warnings

Both lirc_imon and lirc_sasem were causing gcc to complain about the possible use of uninitialized variables.

Jarod Wilson committed 15 years ago

Commit 55734781 parent dc8e2aa2 files · +2 −2Browse files

Showing the changes to drivers/staging/lirc/lirc_sasem.c (1 of 2 files). Show all

Unified · Split

drivers/staging/lirc/lirc_sasem.c+1−1
@@ -364,7 +364,7 @@ static ssize_t vfd_write(struct file *file, const char *buf, · 363 unmodified lines
364364 int i;
365365 int retval = 0;
366366 struct sasem_context *context;
367− int *data_buf;
367+ int *data_buf = NULL;
368368
369369 context = (struct sasem_context *) file->private_data;
370370 if (!context) {