Skip to content
Commit f81c5190 authored by Fabio Utzig's avatar Fabio Utzig Committed by Anas Nashif
Browse files

drivers: flash: at45: fix non-initialized warning



Silence a gcc warning due to possible return of unitialized variable in
erase function. This could only happen if size == 0, which doesn't seem
likely, but initializing the variable to zero should fix the issue.

Signed-off-by: default avatarFabio Utzig <fabio.utzig@nordicsemi.no>
parent 6a4ebe59
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment