• J
    Remove more useless if tests before "free"-like functions. · e8ff93b4
    Jim Meyering 提交于
    * build-aux/useless-if-before-free: Rename from ...
    * build-aux/find-unnecessary-if-before-free: ... this.  Remove file.
    Also changed it so that new names are no longer hard-coded in the
    script.  Instead, they're supplied via options:
    * Makefile.cfg (useless_free_options): Define.
    Add xmlXPathFreeObject to the list of free-like functions it detects.
    * Makefile.maint (sc_avoid_if_before_free): Reflect script renaming.
    * .x-sc_avoid_if_before_free: Likewise.
    * src/openvz_conf.c (openvzParseXML): Remove useless "if"-before-free.
    * src/qemu_conf.c (qemudParseXML, qemudParseNetworkXML): Likewise.
    * src/virsh.c (cmdVNCDisplay, cmdTTYConsole, cmdDetachInterface):
    (cmdDetachDisk): Likewise.
    * src/xm_internal.c (xenXMConfigSetIntFromXPath): Likewise.
    (xenXMConfigSetStringFromXPath, xenXMParseXMLToConfig): Likewise.
    (xenXMDomainAttachDevice, xenXMAttachDisk, xenXMAttachInterface):
    (xenXMDomainDetachDevice): Likewise.
    * src/xml.c (virXPathString): Likewise.
    * tests/xmlrpctest.c (checkRequestValue): Likewise.
    e8ff93b4
可在Tags中查看这些版本中当前仓库的状态.
ChangeLog 250.1 KB