[PATCH] Remove a redundant line.

Masaki Muranaka monaka at monami-ya.jp
Sun Jun 2 08:59:05 EDT 2013


Signed-off-by: Masaki Muranaka <monaka at monami-ya.com>
---
 commands/echo.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/commands/echo.c b/commands/echo.c
index 8929234..4dfd870 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
-- 
1.8.3




More information about the barebox mailing list