From 1e407a2a655ebcda8fd0f13746f46bc41fe73dbe Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Tue, 3 Mar 2026 23:22:14 +0000 Subject: util/nvmutil: reset invert in main currently redundant, but again i might expand this in the future to allow multiple runs. putting this here as good practise (currently redundant). Signed-off-by: Leah Rowe --- util/nvmutil/nvmutil.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'util') diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c index bd343071..c70e3836 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -98,9 +98,11 @@ static void (*cmd)(void) = NULL; int main(int argc, char *argv[]) { + argv0 = argv[0]; + mac = NULL; + invert = 0; - argv0 = argv[0]; if (argc < 2) usage(); fname = argv[1]; -- cgit v1.2.1