summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasaki Muranaka <monaka@monami-ya.jp>2013-06-02 21:59:05 +0900
committerSascha Hauer <s.hauer@pengutronix.de>2013-06-03 09:26:26 +0200
commit56bd91c9a19735f08926db9b9736565fe1672b12 (patch)
tree02be546ed6d16d225eb0deed79b7c645703f95ad
parenteedf216ac79559357d319eacceba029767a22d37 (diff)
downloadbarebox-56bd91c9a19735f08926db9b9736565fe1672b12.tar.gz
barebox-56bd91c9a19735f08926db9b9736565fe1672b12.tar.xz
Remove a redundant line.
Signed-off-by: Masaki Muranaka <monaka@monami-ya.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--commands/echo.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/commands/echo.c b/commands/echo.c
index 8929234aab..4dfd8709e4 100644
--- a/commands/echo.c
+++ b/commands/echo.c
@@ -55,7 +55,6 @@ static int do_echo(int argc, char *argv[])
break;
case 'o':
oflags |= O_TRUNC;
- file = argv[optind + 1];
if (optind + 1 < argc)
file = argv[optind + 1];
else