diff options
author | Denys Vlasenko | 2010-07-04 04:26:55 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-07-04 04:26:55 +0200 |
commit | 243d1757d798a0cd43f51eb1db75cc1e81c65732 (patch) | |
tree | 09bad361c80d75a46afcdea52a3f5debb61b8b4d /editors/vi.c | |
parent | fd744519d1e848c4760c23805bf993396b19c8b2 (diff) | |
download | busybox-243d1757d798a0cd43f51eb1db75cc1e81c65732.zip busybox-243d1757d798a0cd43f51eb1db75cc1e81c65732.tar.gz |
remove some dead assignments, add a TODO comment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'editors/vi.c')
-rw-r--r-- | editors/vi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/editors/vi.c b/editors/vi.c index 9b050e1..0f412c3 100644 --- a/editors/vi.c +++ b/editors/vi.c @@ -2385,7 +2385,6 @@ static int file_write(char *fn, char *first, char *last) status_line_bold("No current filename"); return -2; } - charcnt = 0; /* By popular request we do not open file with O_TRUNC, * but instead ftruncate() it _after_ successful write. * Might reduce amount of data lost on power fail etc. |