]> granicus.if.org Git - neomutt/commit
reduce scope of variables 824/head
authorRichard Russon <rich@flatcap.org>
Wed, 4 Oct 2017 12:14:08 +0000 (13:14 +0100)
committerRichard Russon <rich@flatcap.org>
Sat, 14 Oct 2017 14:05:36 +0000 (15:05 +0100)
commitda2ecbcbe6c87b6d94f8e86f164b03373d778a5f
treea2c2ffa90924a04d0ad87ee1e7af8d5e5fae2b1b
parent1d83dcf445ceb6e8a7de0320df5318dd962f0b9d
reduce scope of variables

C99 allows a 'for' loop to define its variable.
This reduces the variable's scope making its use clearer.
47 files changed:
browser.c
charset.c
color.c
commands.c
compose.c
copy.c
curs_main.c
editmsg.c
flags.c
handler.c
headers.c
help.c
history.c
imap/command.c
imap/imap.c
imap/message.c
imap/utf7.c
init.c
keymap.c
lib/file.c
lib/sha1.c
lib/string.c
menu.c
mutt_notmuch.c
mutt_ssl.c
mutt_ssl_gnutls.c
muttlib.c
mx.c
ncrypt/crypt.c
ncrypt/crypt_gpgme.c
newsrc.c
pager.c
parameter.c
pattern.c
pgpewrap.c
pgppubring.c
pop_lib.c
recvattach.c
remailer.c
rfc2047.c
score.c
send.c
sendlib.c
sidebar.c
sort.c
thread.c
txt2c.c