summaryrefslogtreecommitdiff
path: root/usr.bin/mg
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2012-11-03 16:26:33 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2012-11-03 16:26:33 +0000
commit65946d366f530258bbec3b4ad58100fde464f625 (patch)
treeb93e7b1395589bdf8f00805708a9611de31dc141 /usr.bin/mg
parent98870c98aad8e7635f9b7769ac8b3d2a0f6a421c (diff)
kill dead assignment, found by llvm
ok haesbaert, lum, benno
Diffstat (limited to 'usr.bin/mg')
-rw-r--r--usr.bin/mg/echo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/mg/echo.c b/usr.bin/mg/echo.c
index 1e500b99ec2..4e95ca90085 100644
--- a/usr.bin/mg/echo.c
+++ b/usr.bin/mg/echo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: echo.c,v 1.52 2012/10/22 08:31:42 florian Exp $ */
+/* $OpenBSD: echo.c,v 1.53 2012/11/03 16:26:32 florian Exp $ */
/* This file is in the public domain. */
@@ -268,7 +268,6 @@ veread(const char *fp, char *buf, size_t nbuf, int flag, va_list ap)
case CCHR('D'):
if (cpos != epos) {
tteeol();
- y = buf[cpos];
epos--;
rr = ttrow;
cc = ttcol;