mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-10-20 11:33:43 +03:00
Move declarations before statements
Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
@@ -49,9 +49,10 @@ virshCommandOptInterfaceBy(vshControl *ctl, const vshCmd *cmd,
|
||||
const char *n = NULL;
|
||||
bool is_mac = false;
|
||||
virMacAddr dummy;
|
||||
virCheckFlags(VIRSH_BYNAME | VIRSH_BYMAC, NULL);
|
||||
virshControlPtr priv = ctl->privData;
|
||||
|
||||
virCheckFlags(VIRSH_BYNAME | VIRSH_BYMAC, NULL);
|
||||
|
||||
if (!optname)
|
||||
optname = "interface";
|
||||
|
||||
|
Reference in New Issue
Block a user