From 7ca059d80aae996ff3031aca15241a55e255a0f5 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Thu, 8 Apr 2021 08:53:12 -0600 Subject: * Clear out some warnings given by gcc 10. --- alpine/reply.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'alpine/reply.c') diff --git a/alpine/reply.c b/alpine/reply.c index 7ec610a6..184f9f4a 100644 --- a/alpine/reply.c +++ b/alpine/reply.c @@ -106,7 +106,6 @@ reply(struct pine *pine_state, ACTION_S *role_arg) REPLY_S reply; void *msgtext = NULL; char *tmpfix = NULL, *prefix = NULL, *fcc = NULL, *errmsg = NULL; - char *hostpart; long msgno, j, totalm, rflags, *seq = NULL; int i, include_text = 0, times = -1, warned = 0, rv = 0, flags = RSF_QUERY_REPLY_ALL, reply_raw_body = 0; @@ -1015,9 +1014,8 @@ reply_text_query(struct pine *ps, long int many, ENVELOPE *env, char **prefix) int ret, edited = 0, headers = 0; static ESCKEY_S compose_style[MAX_REPLY_OPTIONS]; int ekey_num; - int orig_sf; - orig_sf = ps->reply.use_flowed = *prefix && **prefix ? (F_OFF(F_QUELL_FLOWED_TEXT, ps) + ps->reply.use_flowed = *prefix && **prefix ? (F_OFF(F_QUELL_FLOWED_TEXT, ps) && F_OFF(F_STRIP_WS_BEFORE_SEND, ps) && (strcmp(*prefix, "> ") == 0 || strcmp(*prefix, ">") == 0)) : 0; @@ -1068,8 +1066,6 @@ reply_text_query(struct pine *ps, long int many, ENVELOPE *env, char **prefix) compose_style[ekey_num++].label = N_("Edit Indent String"); } } else { /***** Alternate Reply Menu ********/ - unsigned which_help; - snprintf(tmp_20k_buf, SIZEOF_20KBUF, _("Include %s%soriginal message%s in Reply (using \"%s%s%s\")? "), (many > 1L) ? comatose(many) : "", (many > 1L) ? " " : "", @@ -1198,7 +1194,7 @@ reply_text_query(struct pine *ps, long int many, ENVELOPE *env, char **prefix) if(flags & OE_USER_MODIFIED){ fs_give((void **)prefix); *prefix = removing_quotes(cpystr(buf)); - orig_sf = ps->reply.use_flowed = *prefix && **prefix ? + ps->reply.use_flowed = *prefix && **prefix ? (F_OFF(F_QUELL_FLOWED_TEXT, ps) && F_OFF(F_STRIP_WS_BEFORE_SEND, ps) && (strcmp(*prefix, "> ") == 0 -- cgit v1.2.3-54-g00ecf