[6000] in Athena Bugs

home help back first fref pref prev next nref lref last post

Saber msg: v3.0 beta-2 (8/21/90 quicksilver decstation Ultrix 3.x 0 0)

daemon@ATHENA.MIT.EDU (jtkohl@ATHENA.MIT.EDU)
Tue Sep 11 10:46:00 1990

From: jtkohl@ATHENA.MIT.EDU
Date: Tue, 11 Sep 90 10:45:47 EDT
To: bugs@ATHENA.MIT.EDU
Cc: jtkohl@ATHENA.MIT.EDU

Supression on variable names doesn't seem to work.
If I do
23 -> suppress 560 bar 
Violation #560 (Assignment within conditional) suppressed on name: bar. 
24 -> load /tmp/foo.c 
Loading: /tmp/foo.c 
25 -> 

then even if I load this file:

int foo()
{
    int bar;

    if (bar = quux())
	return(bar);
    return(0);
}

saber will flag a warning on the assignment line.



home help back first fref pref prev next nref lref last post