Description of problem: LVM2.2.02.174/tools/toollib.c:4467]: (style) Suspicious condition (assignment + comparison); Clarify expression with parentheses. Source code is if ((ret = _get_all_devices(cmd, &all_devices) != ECMD_PROCESSED)) { Maybe better code if ((ret = _get_all_devices(cmd, &all_devices)) != ECMD_PROCESSED) { Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Thanks for noticing - fix will be pushed upstream soon.
Fixed with upstream commit: https://www.redhat.com/archives/lvm-devel/2017-September/msg00023.html