]> granicus.if.org Git - mutt/commit
Remove UL "" initialization from init.h.
authorKevin McCarthy <kevin@8t8.us>
Fri, 21 Jun 2019 20:28:11 +0000 (13:28 -0700)
committerKevin McCarthy <kevin@8t8.us>
Fri, 21 Jun 2019 20:28:11 +0000 (13:28 -0700)
commit2f91d43e33d9ce46ee0d9492b2fb9caceafae88e
treee3db880794d15b1f6331aca5aa269c781377bcba
parent078654a4c637e5705056ddcbbff159458abf5279
Remove UL "" initialization from init.h.

mutt_init() calls mutt_set_default() followed by
mutt_restore_default().  The mutt_restore_default() calls
mutt_str_replace(), which translates "" into 0.

Therefore assigning "" to the option->init field simply wastes space
and (incorrectly) implies the option->data will be non-NULL by default.
init.h