util/nvmutil: remove unused variable in rhex

on bsd

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-09 17:45:50 +00:00
parent 646e349893
commit cd63f1a7f3

View File

@@ -930,7 +930,9 @@ rhex(void)
{
static size_t n = 0;
static uint8_t rnum[12];
#ifndef NVMUTIL_ARC4RANDOM_BUF
int max_retries;
#endif
#ifdef NVMUTIL_ARC4RANDOM_BUF
if (!n) {