From 7399cd554e804999569f740aeedb03dbd096a336 Mon Sep 17 00:00:00 2001 From: Guido Trotter <ultrotter@google.com> Date: Tue, 14 Oct 2008 16:33:53 +0000 Subject: [PATCH] gnt-instance fix ValidateBeParams call ValidateBeParams does not return, but its return value is assigned to a variable which is never used. Avoid this assignment. Reviewed-by: iustinp --- scripts/gnt-instance | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gnt-instance b/scripts/gnt-instance index e953ca1f7..3d9433688 100755 --- a/scripts/gnt-instance +++ b/scripts/gnt-instance @@ -277,7 +277,7 @@ def AddInstance(opts, args): if opts.hypervisor: hypervisor, hvparams = opts.hypervisor - bep = ValidateBeParams(opts.beparams) + ValidateBeParams(opts.beparams) ## kernel_path = _TransformPath(opts.kernel_path) ## initrd_path = _TransformPath(opts.initrd_path) -- GitLab