mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-26 13:13:39 +00:00
gcc 4.3.1 generates this warning: v4l/smscoreapi.c: In function 'smscore_gpio_configure': v4l/smscoreapi.c:1481: warning: 'GroupNum' may be used uninitialized in this function v4l/smscoreapi.c:1480: warning: 'TranslatedPinNum' may be used uninitialized in this function While in practice this will not happen, it is something that the compiler can't determine. Initializing these two local variables to 0 suppresses this warning. Cc: Udi Atar <udi.linuxtv@gmail.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> |
History
|
|
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| sms-cards.c | ||
| sms-cards.h | ||
| smscoreapi.c | ||
| smscoreapi.h | ||
| smsdvb.c | ||
| smsendian.c | ||
| smsendian.h | ||
| smsir.c | ||
| smsir.h | ||
| smssdio.c | ||
| smsusb.c | ||