merge-ll: introduce LL_MERGE_OPTIONS_INIT

Introduce a macro to initialize `struct ll_merge_options` in preparation
for the next commit that will add a new member that needs to be
initialized to a non-zero value.

Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Phillip Wood
2024-03-14 17:05:04 +00:00
committed by Junio C Hamano
parent 7457014be5
commit 412aff7b33
5 changed files with 6 additions and 5 deletions

View File

@@ -82,6 +82,8 @@ struct ll_merge_options {
long xdl_opts;
};
#define LL_MERGE_OPTIONS_INIT {0}
enum ll_merge_result {
LL_MERGE_ERROR = -1,
LL_MERGE_OK = 0,