summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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