Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iiod: fix shadowed local variable in iiod
Now that we turn this on by default, make sure that this is all OK. Fixes the warning: ./iiod/ops.c: In function ‘send_data’: ./iiod/ops.c:431:16: warning: declaration of ‘len’ shadows a parameter [-Wshadow] ssize_t ret, len; ^~~ ./iiod/ops.c:415:77: note: shadowed declaration is here static ssize_t send_data(struct DevEntry *dev, struct ThdEntry *thd, size_t len) ~~~~~~~^~~ Signed-off-by: Robin Getz <[email protected]>
- Loading branch information