[CFT] Sierra Wireless HSPA+ USB modem
Hans Petter Selasky
hselasky at c2i.net
Thu Jul 7 12:50:50 UTC 2011
On Thursday 07 July 2011 14:43:22 PseudoCylon wrote:
> The compiler complained about uninitialized int
> if_usie.c: 1484
> - uint8_t pad;
> + uint8_t pad = 0;
I changed it so that pad is set in both cases:
pad = (hip->id & USIE_HIP_PAD) ? 1 : 0;
if ((hip->id & USIE_HIP_MASK) == USIE_HIP_CNS2H) {
cns = (struct usie_cns *)(((uint8_t *)(hip + 1)) +
pad);
--HPS
More information about the freebsd-current
mailing list