>>>>> "David" == David Rowley <[email protected]> writes:

 David> I always thought that when all options were covered that we
 David> generally kept a default just in case someone added another enum
 David> and forgot to update the code.

That's what compiler warnings (-Wswitch, included in -Wall) are for;
it's actually a _bad_ idea to have a default clause in such cases, since
it stops the compiler from warning you.

-- 
Andrew (irc:RhodiumToad)

Reply via email to