Suspicous code in kdelibs-3.5.2

Christoph Bartoschek bartoschek at gmx.de
Sat Apr 8 17:01:20 BST 2006


Am Samstag, 8. April 2006 16:15 schrieb Oswald Buddenhagen:

> a valid case (i.e., with a non-empty case):
>
> switch (foo) {
> case 1:
> 	do_one();
> 	// fall through
> case 2:
> 	do_two();
> 	break;
> }

These are exactly the lines where I get a message. For 


switch (foo) {
case 0:     // <-- no report item here
case 1:
	do_one();   // <-- report item here
case 2:
	do_two();
	break;
}

Christoph




More information about the kde-core-devel mailing list