vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 1413ae284f0bf5a551b4f2551178fc215f91c580 parent 8654d6e7ed28e56df74a40c1599ac9ce14f3303c Author: Marc André Tanner <mat@brain-dump.org> Date: Fri, 9 Dec 2016 20:59:30 +0100 Remove useless variable assignment Fixes CID 139067. Diffstat:
| M | main.c | | | 1 | - |
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/main.c b/main.c @@ -2293,7 +2293,6 @@ int main(int argc, char *argv[]) { } else if (strcmp(argv[i], "--") == 0) { end_of_options = true; } - end_of_options = !strcmp(argv[i], "--"); } else if (argv[i][0] == '+' && !end_of_options) { cmd = argv[i] + (argv[i][1] == '/' || argv[i][1] == '?'); } else if (!vis_window_new(vis, argv[i])) {