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:
Fabio Utzig <fabio.utzig@nordicsemi.no>
Loading
Please sign in to comment