]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Resolve Coverity DEADCODE.
authorMatthias Gatto <matthias.gatto@outscale.com>
Wed, 12 Nov 2014 15:53:01 +0000 (16:53 +0100)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 12 Nov 2014 14:43:55 +0000 (09:43 -0500)
commit6c1347ec06a73e328aa3a1e08212d47e5b2d2e5e
tree04bb1da8a79be8faa72c45fb2dff2488f9ede7e2
parent5fb007b03541e18501edd5cb214283d45b42ba62
qemu: Resolve Coverity DEADCODE.

reported here: http://www.redhat.com/archives/libvir-list/2014-November/msg00327.html

I could have just remove bool supportMaxOptions variable, but
if I had do this, we could not check anymore if the nparams variable is
superior to QEMU_NB_BLOCK_IO_TUNE_PARAM_MAX.

v2: change following this proposal:
http://www.redhat.com/archives/libvir-list/2014-November/msg00379.html
src/qemu/qemu_driver.c