summaryrefslogtreecommitdiff
path: root/usr.bin/ftp
diff options
context:
space:
mode:
authoranton <anton@cvs.openbsd.org>2017-08-01 15:04:45 +0000
committeranton <anton@cvs.openbsd.org>2017-08-01 15:04:45 +0000
commit1f8aaf28a967404588e4287e796101b8c7fbf7e6 (patch)
tree3603c34f4d06dc1146d496f487cb8635f2ff7cb8 /usr.bin/ftp
parent6fe2a0bd781dbd83855232cb6295aea520dbbea7 (diff)
Remove self assignment.
ok deraadt@
Diffstat (limited to 'usr.bin/ftp')
-rw-r--r--usr.bin/ftp/complete.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/ftp/complete.c b/usr.bin/ftp/complete.c
index 403eb2e3d3a..3c137e2620a 100644
--- a/usr.bin/ftp/complete.c
+++ b/usr.bin/ftp/complete.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: complete.c,v 1.30 2017/01/21 08:33:07 krw Exp $ */
+/* $OpenBSD: complete.c,v 1.31 2017/08/01 15:04:44 anton Exp $ */
/* $NetBSD: complete.c,v 1.10 1997/08/18 10:20:18 lukem Exp $ */
/*-
@@ -288,7 +288,6 @@ complete(EditLine *el, int ch)
int celems, dolist;
size_t len;
- ch = ch; /* not used */
lf = el_line(el);
len = lf->lastchar - lf->buffer;
if (len >= sizeof(line))