libvirt / libvirt (master)
Build #471 passed.
17 minutes and 7 seconds
Erik Skultety 4c248e9 Changeset →
  maint: Fix incorrect parenthesis placement causing true/false assignment

There were a few places in our code where the following pattern in 'if'
condition occurred:

if ((foo = bar() < 0))
do something;

This patch adjusts the conditions to the expected format:

if ((foo = bar()) < 0)
do something;

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1488192

Signed-off-by: Erik Skultety <eskultet@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
System message:

📣 PSA: An update is coming to our Trusty environments. Add `group: edge` to test it + read the details on our blog!

Want to know about upcoming build environment updates?

Would you like to stay up-to-date with the upcoming Travis CI build environment updates? We set up a mailing list for you! Sign up here.

Would you like to test your private code?

Travis CI for Private Projects could be your new best friend!