From 86e1b901096a19ceedcb3f4dd76f18473080f7fd Mon Sep 17 00:00:00 2001 From: Hoorad Farrokh Date: Wed, 9 Oct 2024 09:29:33 +1300 Subject: [PATCH] Removed unused code at the _cmd_save function --- cmd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd.c b/cmd.c index 374b678..3ef8099 100644 --- a/cmd.c +++ b/cmd.c @@ -1618,7 +1618,6 @@ static int _cmd_save(editor_t *editor, bview_t *bview, int save_as) { struct stat st; bint_t nbytes; - fname_changed = 0; do { if (!bview->buffer->path || save_as) { // Prompt for name