diff options
author | Patrick Rudolph <patrick.rudolph@9elements.com> | 2024-10-23 15:20:18 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-10-27 17:24:13 -0600 |
commit | b36f62946467f2c923d351547ec5f0f720e9ec90 (patch) | |
tree | 84e8e638e1a25814ec01892cf57d3dedb32b9292 /common/bloblist.c | |
parent | 3cc4123ed50b1b6d2ddaf1886dd70d7b8bf8b6a6 (diff) |
bloblist: Fix use of uninitialized variable
Initialize addr to zero which allows to build on the CI
which is more strict.
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/bloblist.c')
-rw-r--r-- | common/bloblist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/bloblist.c b/common/bloblist.c index 2008ab4d25c..cf1a3b8b62c 100644 --- a/common/bloblist.c +++ b/common/bloblist.c @@ -499,7 +499,7 @@ int bloblist_init(void) { bool fixed = IS_ENABLED(CONFIG_BLOBLIST_FIXED); int ret = -ENOENT; - ulong addr, size; + ulong addr = 0, size; /* * If U-Boot is not in the first phase, an existing bloblist must be * at a fixed address. |