Coverity complains about default: label in libxl_driver.c not be able
to be reached. It's by design for the code and since it's not necessary
in the code nor does it elicit any compiler/make check warnings - just
remove it rather than adding a coverity[dead_error_begin] tag.
While I'm at it, lxc_driver.c and nodeinfo.c have the same design, so I
removed the default labels and the existing coverity tags.
nodeset = NULL;
break;
-
- default:
- break;
}
}
VIR_TYPED_PARAM_ULLONG, val) < 0)
goto cleanup;
break;
-
- /* coverity[dead_error_begin] */
- default:
- break;
- /* should not hit here */
}
}
param->value.s) < 0)
goto cleanup;
break;
-
- /* coverity[dead_error_begin] */
- default:
- break;
- /* should not hit here */
}
}
} else if (flags & VIR_DOMAIN_AFFECT_CONFIG) {
goto cleanup;
}
break;
-
- /* coverity[dead_error_begin] */
- default:
- break;
- /* should not hit here */
}
}
}
return -1;
break;
-
- /* coverity[dead_error_begin] */
- default:
- break;
}
}