about summary refs log tree commit diff stats
path: root/externaleditor.c
diff options
context:
space:
mode:
Diffstat (limited to 'externaleditor.c')
-rw-r--r--externaleditor.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/externaleditor.c b/externaleditor.c
index ec56b7e..776f8fd 100644
--- a/externaleditor.c
+++ b/externaleditor.c
@@ -73,7 +73,6 @@ update_contents(struct external_editor_args *args)
 				break;
 		}
 		close(fd);
-		fd = -1;
 
 		DPRINTF("external_editor_cb: contents updated\n");
 		if (args->callback)