Messages in this thread Patch in this message | | | Date | Mon, 13 Oct 2003 11:53:47 -0400 (EDT) | From | Rik van Riel <> | Subject | [PATCH][TRIVIAL] initialise variable in eata_dma.c |
| |
Shut up gcc warning, since real assignment to variable happens inside an if branch.
diff -urNp linux-5110/drivers/scsi/eata_dma.c linux-10010/drivers/scsi/eata_dma.c --- linux-5110/drivers/scsi/eata_dma.c 2001-09-30 21:26:07.000000000 +0200 +++ linux-10010/drivers/scsi/eata_dma.c @@ -1067,7 +1067,7 @@ short register_HBA(u32 base, struct get_ char *buff = 0; unchar bugs = 0; struct Scsi_Host *sh; - hostdata *hd; + hostdata *hd=NULL; int x;
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |