From: Richard Russon Date: Thu, 16 Nov 2017 03:21:55 +0000 (+0000) Subject: fix shadow variable X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1fd7b650498597fdaa1700803d636cc1206bafc6;p=neomutt fix shadow variable --- diff --git a/attach.c b/attach.c index 559ef66ce..061ddb991 100644 --- a/attach.c +++ b/attach.c @@ -532,11 +532,11 @@ int mutt_view_attachment(FILE *fp, struct Body *a, int flag, struct Header *hdr, else { /* interactive command */ - int rc = mutt_system(command); - if (rc == -1) + int rv = mutt_system(command); + if (rv == -1) mutt_debug(1, "Error running \"%s\"!", command); - if ((rc != 0) || (entry->needsterminal && option(OPT_WAIT_KEY))) + if ((rv != 0) || (entry->needsterminal && option(OPT_WAIT_KEY))) mutt_any_key_to_continue(NULL); } }