On Sat, 16 Oct 1999, Joerg Reuter DL1BKE wrote:
[NON-Text Body part not included]
Hmm... Something strange in your mailer... well, cut'n'paste rules...
>> Actually
>> it's also bogus as the variable can't be used uninitialized.
>
>No, the warning is not bogus: if some moron calls kiss_esc_crc()
>with len < 0 (it is a signed int) "c" in fact remains uninitialized.
>But this can only happen if we get a transmit buffer with a negative
>length from dev.c -- if this really happens I bet all the hell
>breaks loose... ;-)
Yes it is bogus. The "while (len > 0)" handles the negative len case.
That is, c remains uninitialized but it doesn't get used either... :)
--
Tomi Manninen Internet: [EMAIL PROTECTED]
OH2BNS AX.25: [EMAIL PROTECTED]
KP20ME04 Amprnet: [EMAIL PROTECTED]