static void mix_screen_coordinates(struct Remailer **type2_list, struct Coord **coordsp,
struct MixChain *chain, int i)
{
- short c, r, oc;
- struct Coord *coords = NULL;
+ short c, r;
if (!chain->cl)
return;
mutt_mem_realloc(coordsp, sizeof(struct Coord) * chain->cl);
- coords = *coordsp;
+ struct Coord *coords = *coordsp;
if (i)
{
for (; i < chain->cl; i++)
{
- oc = c;
+ short oc = c;
c += strlen(type2_list[chain->ch[i]]->shortname) + 2;
if (c >= MuttIndexWindow->cols)
struct Menu *menu = NULL;
char helpstr[LONG_STRING];
bool loop = true;
- int op;
- int j;
char *t = NULL;
type2_list = mix_type2_list(&ttll);
c_old = c_cur;
- switch ((op = mutt_menu_loop(menu)))
+ const int op = mutt_menu_loop(menu);
+ switch (op)
{
case OP_REDRAW:
{
{
for (int i = 0; i < chain->cl; i++)
{
- j = chain->ch[i];
+ const int j = chain->ch[i];
if (j != 0)
t = type2_list[j]->shortname;
else