remove some dead assignments, add a TODO comment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user