mirror of
https://github.com/libvirt/libvirt.git
synced 2026-08-12 06:04:46 -05:00
Remove static analysis assertions
None of them are currently needed to pass our upstream CI, most were either for ancient clang versions or coverity for silencing false positives. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
@@ -449,7 +449,6 @@ vshCmddefGetOption(vshControl *ctl, const vshCmdDef *cmd, const char *name,
|
||||
opt->help = "string": straight replacement of name
|
||||
opt->help = "string=value": treat boolean flag as
|
||||
alias of option and its default value */
|
||||
sa_assert(!alias);
|
||||
alias = g_strdup(opt->help);
|
||||
name = alias;
|
||||
if ((value = strchr(name, '='))) {
|
||||
|
||||
Reference in New Issue
Block a user