Messages in this thread | | | Subject | Re: [PATCH] net drivers cleanup | Date | Thu, 23 Nov 2000 22:34:53 +0000 (GMT) | From | Alan Cox <> |
| |
> - static unsigned char init_ID_done = 0, version_printed = 0; > - int i, irq, irqval, retval; > + static unsigned char init_ID_done, version_printed; > + int i, irq, retval; > > This is wrong because later we depend on assumption that > these values are equal to 0 (they aren't autoinitialized to 0).
static starts at zero - its defined
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |