From d338650ff662d308a1a99b902b4bf9ac93a14685 Mon Sep 17 00:00:00 2001 From: Kevin McCarthy Date: Mon, 11 May 2020 13:12:23 -0700 Subject: Remove unused mutt_enter_fname() functions. All the callers use the buffer version. --- curs_lib.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'curs_lib.c') diff --git a/curs_lib.c b/curs_lib.c index 92eda9b1..05812f0a 100644 --- a/curs_lib.c +++ b/curs_lib.c @@ -997,22 +997,6 @@ int mutt_do_pager (const char *banner, return rc; } -int _mutt_enter_fname (const char *prompt, char *buf, size_t blen, int buffy, - int multiple, char ***files, int *numfiles) -{ - BUFFER *fname; - int rc; - - fname = mutt_buffer_pool_get (); - - mutt_buffer_addstr (fname, buf); - rc = _mutt_buffer_enter_fname (prompt, fname, buffy, multiple, files, numfiles); - strfcpy (buf, mutt_b2s (fname), blen); - - mutt_buffer_pool_release (&fname); - return rc; -} - int _mutt_buffer_enter_fname (const char *prompt, BUFFER *fname, int buffy, int multiple, char ***files, int *numfiles) { -- cgit v1.2.3