]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: env: Avoid an uninited warning with was_locked
authorSimon Glass <sjg@chromium.org>
Sat, 1 Aug 2020 16:30:39 +0000 (10:30 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 5 Aug 2020 12:18:34 +0000 (08:18 -0400)
commit7b27e0fe13d8d44da6cd357a69668a726b852502
tree8abedb1958a51367a9a08922eea3d33cfb6035f4
parentd9cd4d2a8d429068a6a5061a33459ae3ae113ef8
tools: env: Avoid an uninited warning with was_locked

Set this variable to 0 to avoid a warning about an unused variable. This
happens on gcc 7.5.0 for me.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/env/fw_env.c