[neomutt-devel] [PATCH 1/2] remove dead code in compose_format_str()

Richard Russon rich at flatcap.org
Sat Mar 20 13:01:37 CET 2021


Hi toogley,

> compose_format_str() contains this code:
>   bool optional = (flags & MUTT_FORMAT_OPTIONAL);
>   if (optional)

Wow, good spot.
Part of me feels that we should leave the code in place, for symmetry
with the other ~15 format functions.

But dead code, is dead code.  It goes.

Cheers,
    Rich / FlatCap
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://mailman.neomutt.org/pipermail/neomutt-devel-neomutt.org/attachments/20210320/878e3e0d/attachment.sig>


More information about the neomutt-devel mailing list