• E
    maint: remove redundant tests after virStrToLong · 9d6614df
    Eric Blake 提交于
    virStrToLong* guarantees (via strtol) that the end pointer will be set
    to the point at which parsing stopped (even on failure, this point is
    the start of the input string).
    
    * src/esx/esx_driver.c (esxGetVersion): Remove pointless
    conditional.
    * src/qemu/qemu_conf.c (qemuParseCommandLinePCI)
    (qemuParseCommandLineUSB, qemuParseCommandLineSmp): Likewise.
    * src/qemu/qemu_monitor_text.c
    (qemuMonitorTextGetMigrationStatus): Likewise.
    9d6614df
esx_driver.c 104.6 KB