]> granicus.if.org Git - sudo/commitdiff
Remove useless store detected by llvm checker.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 6 Feb 2013 21:35:19 +0000 (16:35 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 6 Feb 2013 21:35:19 +0000 (16:35 -0500)
plugins/sudoers/sudoreplay.c

index bcf5746f1447823a88a0861c15c0be84e9b124e1..2ed55385624a69eb1c71d1b31fa4cb00c84c7940 100644 (file)
@@ -398,7 +398,6 @@ main(int argc, char *argv[])
            (void) fcntl(STDIN_FILENO, F_SETFL, ch | O_NONBLOCK);
        if (!term_raw(STDIN_FILENO, 1))
            error(1, _("unable to set tty to raw mode"));
-       iovcnt = 0;
        iovmax = 32;
        iov = ecalloc(iovmax, sizeof(*iov));
     }