efi_loader: initialize 'total' variable
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Wed, 25 Jun 2025 17:15:28 +0000 (20:15 +0300)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 28 Jun 2025 11:03:19 +0000 (13:03 +0200)
commite80baf06af50a4c8c6f41e9b67f9931f964ced87
treef27d6f3425dea4bc984c6fede0e7ce73f5d17917
parent97d6a2e3fe619b50303f97d0eebafaf50f1f075d
efi_loader: initialize 'total' variable

This variable might end up being uninitialized if we exit early.

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_bootmgr.c