diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-06 23:42:33 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-06 23:42:33 +0000 |
| commit | 6e47315192cf9bd05eb0d228a2b4b145513d933d (patch) | |
| tree | f7e8e1ccd86fd39066130f552a8534651b8971f2 | |
| parent | 85b09c42750437f122bb0b8aa92998cd3be1a1c3 (diff) | |
util/nvmutil: remove rval from conv_argv_part_num
relic from an earlier uncommitted version
Signed-off-by: Leah Rowe <leah@libreboot.org>
| -rw-r--r-- | util/nvmutil/nvmutil.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c index 2c7b42d8..e4fe6c72 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -311,7 +311,6 @@ check_cmd_args(int argc, char *argv[]) static size_t conv_argv_part_num(const char *part_str) { - size_t rval; unsigned char ch; /* @@ -331,7 +330,7 @@ conv_argv_part_num(const char *part_str) ch = (unsigned char)part_str[0]; ch -= '0'; - check_part_num(rval = (size_t)ch); + check_part_num((size_t)ch); return (size_t)ch; } |
