diff options
author | imp <imp@FreeBSD.org> | 2007-06-08 04:03:57 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2007-06-08 04:03:57 +0000 |
commit | 07961300b2e0aa42719ed881e6c74a2d2fd7a94f (patch) | |
tree | 58656e26f0a4126ccd90732424da5b87d84130ad /sys/dev | |
parent | 193607a47cf544b5dc75faa5601d76ba23f5ba7b (diff) | |
download | FreeBSD-src-07961300b2e0aa42719ed881e6c74a2d2fd7a94f.zip FreeBSD-src-07961300b2e0aa42719ed881e6c74a2d2fd7a94f.tar.gz |
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
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/cardbus/cardbus_cis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cardbus/cardbus_cis.c b/sys/dev/cardbus/cardbus_cis.c index 9e5ab03..db1c606 100644 --- a/sys/dev/cardbus/cardbus_cis.c +++ b/sys/dev/cardbus/cardbus_cis.c @@ -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; |