diff options
author | Jeff Garzik <jeff@garzik.org> | 2011-08-18 23:52:36 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2011-08-18 23:52:36 -0400 |
commit | ebd1699ec5f1a6f1f2df6b48fa54bc6ff790143c (patch) | |
tree | 63a0f70d383a706c852d645135ff6aa28b74dee5 /drivers/ata/pata_via.c | |
parent | 2f84dd70916ccadd25e94d28363182a978f569b6 (diff) |
[libata] sata_sil: fix used-uninit warning
Init 'serror' to silence the following warning:
drivers/ata/sata_sil.c: In function ‘sil_interrupt’:
drivers/ata/sata_sil.c:453:14: warning: ‘serror’ may be used uninitialized in
this function [-Wuninitialized]
This is not a 'can never happen' but is nonetheless extremely unlikely.
The easiest and cleanest warning fix is simply to init the var,
rather than worry about marking the var uninit-ok.
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/pata_via.c')
0 files changed, 0 insertions, 0 deletions