[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] Non-zero constant warning on RHEL 6.1 with 0.9.7



Hi guys,

Just checking 0.9.7 on RHEL 6.1 x86_64.  Noticed this when compiling
with make -j 3:

  make[3]: Entering directory `/home/jc/git_repos/libvirt/src'
    CC     libvirt_util_la-bitmap.lo
    CC     libvirt_util_la-authhelper.lo
    CC     libvirt_util_la-bridge.lo
    CC     libvirt_util_la-buf.lo
    CC     libvirt_util_la-command.lo
  util/buf.c: In function 'virBufferEscape':
  util/buf.c:469: warning: logical '&&' with non-zero constant will always evaluate as true [-Wlogical-op]

  ...

    CC     libvirt_lxc-command.o
  util/buf.c: In function 'virBufferEscape':
  util/buf.c:469: warning: logical '&&' with non-zero constant will always evaluate as true [-Wlogical-op]

Obviously not fatal, but it figured someone might want to keep things warning free. :)

Regards and best wishes,

Justin Clift

--
Aeolus Community Manager
http://www.aeolusproject.org




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]