vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 40ab96236d73ea8dad2917d4d2ead5e855012c6c parent b2b399848d6020729a82db8fe97c10dd7de0926c Author: Marc André Tanner <mat@brain-dump.org> Date: Mon, 22 Jun 2020 09:20:12 +0200 text: remove dead store Diffstat:
| M | text.c | | | 1 | - |
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/text.c b/text.c @@ -976,7 +976,6 @@ static bool text_save_begin_inplace(TextSave *ctx) { goto err; block->data = data; block->type = MMAP; - newfd = -1; } /* overwrite the existing file content, if something goes wrong * here we are screwed, TODO: make a backup before? */