Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #325, remove dead code/compiler warning
With the right compiler flags we get: ./tests/iio_attr.c:529:11: warning: logical 'and' of mutually exclusive tests is always false [-Wlogical-op] since the code looks like: "if (wbuf && !wbuf)" This patch removed the offending/dead lines. Signed-off-by: Robin Getz <[email protected]>
- Loading branch information