summaryrefslogtreecommitdiff
path: root/cmd/source.c
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@foss.st.com>2022-11-10 11:49:00 +0100
committerTom Rini <trini@konsulko.com>2023-01-10 12:37:09 -0500
commit8566050e247bacb734a57a2529f49139f2c63dce (patch)
tree4df6813a90a952362cc571be80e68dd46e7b6906 /cmd/source.c
parent46c9016b7f794ce8761e12b4b971be061dd861a3 (diff)
env: mcc: fix compilation error with ENV_IS_EMBEDDED
When ENV_IS_EMBEDDED is enabled, ret is not defined but is used as a return value in env_mmc_load(). This patch correct this issue and simplify the existing code, test only one time #if defined(ENV_IS_EMBEDDED) and not in the function. Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Diffstat (limited to 'cmd/source.c')
0 files changed, 0 insertions, 0 deletions