From 65946d366f530258bbec3b4ad58100fde464f625 Mon Sep 17 00:00:00 2001 From: Florian Obser Date: Sat, 3 Nov 2012 16:26:33 +0000 Subject: kill dead assignment, found by llvm ok haesbaert, lum, benno --- usr.bin/mg/echo.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'usr.bin') 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; -- cgit v1.2.3