Обсуждение: Update some more ObjectType switch statements to not have default

Поиск
Список
Период
Сортировка

Update some more ObjectType switch statements to not have default

От
Peter Eisentraut
Дата:
This arose during the review of another patch.

We often omit the default case of a switch statement to allow the 
compiler to complain if an enum case has been missed.  I found a few 
where that wasn't done yet, but it would make sense and would have found 
an omission in another patch.
Вложения