[development] comment module: minor issue unreachable code
hans at lonki.xs4all.nl
Tue Aug 21 21:20:41 UTC 2007
On 21-aug-2007, at 22:00, Gerhard Killesreiter wrote:
>>>> In the comment module there is some code that will never be
>>> Hi Hans, the proper place to mention this would be in Drupal's issue
>>> queue. You can submit a bug report here:
>> No content types available.
>> Or is this only for user nobody?
> Also, putting a break even if it can't be reached is IMO good
> coding style.
I.m.h.o it would then need a rewrite to make sure the switch would
return it after it
$result = 1;
$result = 2;
$result = 3;
return $result; // or whatever needs to be done with it.
But then again, it's only my opinion.
More information about the development