From d2c183d234ff8f28068210010e8e1519f315ea0d Mon Sep 17 00:00:00 2001 From: Andrew Wood Date: Sun, 10 May 2026 19:55:02 +0100 Subject: [PATCH] Remove redundant assigment (cppcheck recommendation). --- src/pv/loop.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pv/loop.c b/src/pv/loop.c index 1ea865d..99626ae 100644 --- a/src/pv/loop.c +++ b/src/pv/loop.c @@ -371,8 +371,6 @@ int pv_main_loop(pvstate_t state) * The remaining variables are all unchanged by linemode. */ - input_fd = -1; - output_fd = state->control.output_fd; if (output_fd < 0) output_fd = STDOUT_FILENO;