Each of the removed tests was redundant.
if (colour > 0)
ret += fprintf(fp, "\033[0m");
- if (level < 1)
- ret += fprintf(fp, "\n");
+ ret += fprintf(fp, "\n");
return ret;
}
col += pw;
}
}
- else if (soft && pad < 0)
+ else if (soft)
{
int offset = ((flags & MUTT_FORMAT_ARROWCURSOR) && ArrowCursor) ? 3 : 0;
int avail_cols = (cols > offset) ? (cols - offset) : 0;
if (!inside_decrypt)
{
mutt_debug(2, "\tPLAINTEXT encountered outside of DECRYPTION.\n");
- if (rv > -2)
- rv = -2;
+ rv = -2;
break;
}
}
/* Don't break out because we still have to check for
* PLAINTEXT outside of the decryption boundaries. */
mutt_debug(2, "\tDECRYPTION_OKAY encountered.\n");
- if (rv > -2)
- rv = 0;
+ rv = 0;
}
}
FREE(&line);
material = b;
partial = false;
}
- else if (192 <= b && b <= 223)
+ else if (b <= 223)
{
material = (b - 192) * 256;
if (fread(&b, 1, 1, fp) < 1)