remove some dead assignments, add a TODO comment

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2010-07-04 04:26:55 +02:00
parent fd744519d1
commit 243d1757d7
3 changed files with 2 additions and 3 deletions

View File

@ -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.