mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
058f3d3523
This one we actually need to move. _init_logging() is called from create_toolcontext(), which makes this call: /* Test mode */ cmd->default_settings.test = find_config_tree_int(cmd, "global/test", 0); But it does not call init_test(). So we need an init_test() somewhere. The most logical place is to put it inside _init_logging(), since this is where the config value is read and default_settings are set. Placing the init_test() call here matches what is done with other variables and seems to make sense. |
||
---|---|---|
.. | ||
errors.h | ||
toolcontext.c | ||
toolcontext.h |