[neomutt-devel] [PATCH 2/2] remove unused global variable C_Greeting

Richard Russon rich at flatcap.org
Sat Mar 20 13:05:07 CET 2021


Hi toogley,

> -  { "greeting", DT_STRING, &C_Greeting, 0, 0, NULL,
> +  { "greeting", DT_STRING, NULL, 0, 0, NULL,

Good point, but unfortunately it's not quite this simple.
Removing the variable, without specifying DT_NO_VARIABLE, will mean
NeoMutt will crash when you try to set $greeting.

Fortunately, I'm already on it.
[devel/editor] contains ~30 commits where I'm removing all the Config
backing variables.

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/f4738aca/attachment.sig>


More information about the neomutt-devel mailing list