Bug introduced with addition of internal error default case.
Seem like this code is not used.
TODO: add coverage test.
Version 2.02.94 -
====================================
+ Fix missing break in _format_pvsegs (2.02.92).
Test seg pointer for non-null it in raid_target_percent error path.
Check for errors in _init_tags() during config loading.
Always check result of _set_vg_name() in lvcreate.
case AREA_UNASSIGNED:
name = "unassigned";
extent = 0;
+ break;
default:
log_error(INTERNAL_ERROR "Unknown area segtype.");
return NULL;