1. 03 8月, 2018 1 次提交
  2. 02 8月, 2018 2 次提交
  3. 01 8月, 2018 7 次提交
  4. 31 7月, 2018 2 次提交
  5. 30 7月, 2018 3 次提交
  6. 28 7月, 2018 3 次提交
    • J
      util: clang is failing to compile due to unused variables. · 7f6d6b96
      Julio Faracco 提交于
      After some recent patches, clang is throwing some errors related to
      unused variables. This is not happening when we use GCC with -Werror
      enabled. Only clang reports this warning.
      
      make[3]: Entering directory '/home/julio/Desktop/virt/libvirt/src'
        CC       util/libvirt_util_la-virscsivhost.lo
        CC       util/libvirt_util_la-virusb.lo
        CC       util/libvirt_util_la-virmdev.lo
      util/virmdev.c:373:36: error: unused variable 'ret' [-Werror,-Wunused-variable]
          VIR_AUTOPTR(virMediatedDevice) ret = virMediatedDeviceListSteal(list, dev);
                                         ^
      1 error generated.
      Makefile:11579: recipe for target 'util/libvirt_util_la-virmdev.lo' failed
      make[3]: *** [util/libvirt_util_la-virmdev.lo] Error 1
      make[3]: *** Waiting for unfinished jobs....
      util/virscsivhost.c:112:37: error: unused variable 'tmp' [-Werror,-Wunused-variable]
          VIR_AUTOPTR(virSCSIVHostDevice) tmp = virSCSIVHostDeviceListSteal(list, dev);
                                          ^
      1 error generated.
      Makefile:11411: recipe for target 'util/libvirt_util_la-virscsivhost.lo' failed
      make[3]: *** [util/libvirt_util_la-virscsivhost.lo] Error 1
      util/virusb.c:511:31: error: unused variable 'ret' [-Werror,-Wunused-variable]
          VIR_AUTOPTR(virUSBDevice) ret = virUSBDeviceListSteal(list, dev);
      Signed-off-by: NJulio Faracco <jcfaracco@gmail.com>
      Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
      7f6d6b96
    • C
      audit: Share virtType fallback logic · 11a4d593
      Cole Robinson 提交于
      Signed-off-by: NCole Robinson <crobinso@redhat.com>
      11a4d593
    • M
      virpci: Drop unused @ret in virPCIDeviceListDel · c50f89db
      Michal Privoznik 提交于
      So after 00dc991c the function is one line long and the
      line is declaring a variable which is never used in fact. Replace
      it with actual free() call instead of autofree.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      c50f89db
  7. 27 7月, 2018 22 次提交