Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iio: adc: ad9361: fix possible '-Wuninitialized'
'val' could be used uninitialized in case the 'default' branch is taken. It's not a real issue since 'ret < 0 ? ret : ...' would still make it right but let's make the compiler happy by initializing the variable. Signed-off-by: Nuno Sa <[email protected]>
- Loading branch information