Marin Ramesa, le Thu 05 Dec 2013 22:03:25 +0100, a écrit :
> Variable comtimer_active is used uninitialized. What's the
> chance of this variable getting the value FALSE?

> @@ -64,7 +64,6 @@ struct tty com_tty[NCOM];
>  int commodem[NCOM];
>  int comcarrier[NCOM] = {0, 0,};
>  boolean_t comfifo[NCOM];
> -boolean_t comtimer_active;

Simply by being a statically-allocated variable, thus defaulting to 0.

Samuel

Reply via email to