]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
pipesz: avoid dead store
authorThomas Weißschuh <thomas@t-8ch.de>
Sun, 24 Dec 2023 13:12:46 +0000 (14:12 +0100)
committerThomas Weißschuh <thomas@t-8ch.de>
Sun, 31 Dec 2023 12:06:02 +0000 (13:06 +0100)
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
misc-utils/pipesz.c

index 880408a92bc8bb7c04feb9473e1952aefeeb89aa..99c831fd90160b1e36e9880403e014d5fcf9936e 100644 (file)
@@ -260,7 +260,7 @@ int main(int argc, char **argv)
                        ++n_opt_pipe;
                        break;
                case 'n':
-                       fd = strtos32_or_err(optarg, _("invalid fd argument"));
+                       (void) strtos32_or_err(optarg, _("invalid fd argument"));
                        ++n_opt_pipe;
                        break;
                case 'o':