argc/argv not used, don't increment
authorLove Hörnquist Åstrand <lha@kth.se>
Sun, 22 Mar 2009 17:22:30 +0000 (17:22 +0000)
committerLove Hörnquist Åstrand <lha@kth.se>
Sun, 22 Mar 2009 17:22:30 +0000 (17:22 +0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24914 ec53bebd-3082-4978-b11e-865c3cabbd6b

lib/editline/testit.c

index a48a89ce459f067e457faadc468a617e3bc50fa8..25fb276e6b7764315aff5e10d2ad6bcb28dfb0b0 100644 (file)
@@ -57,9 +57,6 @@ main(int argc, char **argv)
        exit(0);
     }
 
-    argc -= optidx;
-    argv += optidx;
-
     while ((p = readline("testit> ")) != NULL) {
        (void)printf("\t\t\t|%s|\n", p);
        if (!n_flag) {