From 1d2e97270918038811d17ae402c6ac16e066da85 Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Fri, 8 Dec 2000 10:38:30 +0000 Subject: [PATCH] Remove an unnecessary ENTER_STATE allocation. --- curs_lib.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/curs_lib.c b/curs_lib.c index 8b658744..bf2924bb 100644 --- a/curs_lib.c +++ b/curs_lib.c @@ -120,13 +120,11 @@ int _mutt_get_field (/* const */ char *field, char *buf, size_t buflen, int comp int mutt_get_password (char *msg, char *buf, size_t buflen) { int rc; - ENTER_STATE *es = mutt_new_enter_state(); CLEARLINE (LINES-1); addstr (msg); rc = mutt_enter_string (buf, buflen, LINES - 1, mutt_strlen (msg), M_PASS); CLEARLINE (LINES-1); - mutt_free_enter_state (&es); return (rc); } -- 2.40.0