mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-03-05 15:05:48 +02:00
Use uint8_t for optionResolveOrder.
This saves a bit of space and should not affect processing speed. On MacOS (clang) this unexpectedly reduces the size of the binary by 16kiB but on Linux (gcc) there are no savings at all.
This commit is contained in:
parent
808f7bf11c
commit
e70c71049e
@ -1085,7 +1085,7 @@ bldCfgRenderParseAutoC(const Storage *const storageRepo, const BldCfg bldCfg)
|
||||
COMMENT_BLOCK_BEGIN "\n"
|
||||
"Order for option parse resolution\n"
|
||||
COMMENT_BLOCK_END "\n"
|
||||
"static const ConfigOption optionResolveOrder[] =\n"
|
||||
"static const uint8_t optionResolveOrder[] =\n"
|
||||
"{\n");
|
||||
|
||||
// Render resolve order
|
||||
|
@ -9246,7 +9246,7 @@ static const ParseRuleOptionDeprecate parseRuleOptionDeprecate[CFG_OPTION_DEPREC
|
||||
/***********************************************************************************************************************************
|
||||
Order for option parse resolution
|
||||
***********************************************************************************************************************************/
|
||||
static const ConfigOption optionResolveOrder[] =
|
||||
static const uint8_t optionResolveOrder[] =
|
||||
{
|
||||
cfgOptStanza,
|
||||
cfgOptArchiveAsync,
|
||||
|
@ -1554,7 +1554,7 @@ testRun(void)
|
||||
COMMENT_BLOCK_BEGIN "\n"
|
||||
"Order for option parse resolution\n"
|
||||
COMMENT_BLOCK_END "\n"
|
||||
"static const ConfigOption optionResolveOrder[] =\n"
|
||||
"static const uint8_t optionResolveOrder[] =\n"
|
||||
"{\n"
|
||||
" cfgOptStanza,\n"
|
||||
" cfgOptBufferSize,\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user