Skip to content
Commit a16c5047 authored by Gaetan Perrot's avatar Gaetan Perrot Committed by Daniel DeGrasse
Browse files

samples: drivers: i2s: i2s_codec: Remove shadowed variable



Avoids shadowing the outer 'ret' variable by reusing it instead of
redeclaring it inside a conditional block.

This improves code clarity.

Signed-off-by: default avatarGaetan Perrot <gaetan.perrot@spacecubics.com>
parent 697d0f84
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment