gcc 4.2 thinks that tupleid is uninitialized. Or might be used

uninitialized.  It gets passed into other routines that initialize
it...  Cope by initializing.

Submitted by: mjacob
This commit is contained in:
Warner Losh 2007-06-08 04:03:57 +00:00
parent c8dde64562
commit 17ee700be6

View File

@ -587,7 +587,7 @@ cardbus_parse_cis(device_t cbdev, device_t child,
struct tuple_callbacks *callbacks, void *argp)
{
uint8_t tupledata[MAXTUPLESIZE];
int tupleid;
int tupleid = CISTPL_NULL;
int len;
int expect_linktarget;
uint32_t start, off;