diff options
author | Andrew Goodbody <andrew.goodbody@linaro.org> | 2025-07-09 12:49:09 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-07-16 10:56:28 -0600 |
commit | f1c03778a4be8e08decf88f6b2018b90f6662090 (patch) | |
tree | cde5b39468a19bc3cc3ca2a18348839b7db9a5ba /include/cmd_autoscript.h | |
parent | 343a30aba38f753161b8c5007898211cc9d43b2a (diff) |
boot: Ensure method_flags is initialised before use
The local variable method_flags is only assigned to in some of the
code paths leaving it possibly uninitialised at first use.
Initialise method_flags at declaration to ensure that it cannot be
used uninitialised. Also remove now redundant assignments.
Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Diffstat (limited to 'include/cmd_autoscript.h')
0 files changed, 0 insertions, 0 deletions