You need to sign in or sign up before continuing.
  • E
    maint: use consistent if-else braces in lxc, vbox, phyp · 279b1b10
    Eric Blake 提交于
    I'm about to add a syntax check that enforces our documented
    HACKING style of always using matching {} on if-else statements.
    
    This patch focuses on drivers that had several issues.
    
    * src/lxc/lxc_fuse.c (lxcProcGetattr, lxcProcReadMeminfo): Correct
    use of {}.
    * src/lxc/lxc_driver.c (lxcDomainMergeBlkioDevice): Likewise.
    * src/phyp/phyp_driver.c (phypConnectNumOfDomainsGeneric)
    (phypUUIDTable_Init, openSSHSession, phypStoragePoolListVolumes)
    (phypConnectListStoragePools, phypDomainSetVcpusFlags)
    (phypStorageVolGetXMLDesc, phypStoragePoolGetXMLDesc)
    (phypConnectListDefinedDomains): Likewise.
    * src/vbox/vbox_common.c (vboxAttachSound, vboxDumpDisplay)
    (vboxDomainRevertToSnapshot, vboxDomainSnapshotDelete): Likewise.
    * src/vbox/vbox_tmpl.c (vboxStorageVolGetXMLDesc): Likewise.
    Signed-off-by: NEric Blake <eblake@redhat.com>
    279b1b10
lxc_driver.c 176.8 KB