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:
committed by
Junio C Hamano
parent
7457014be5
commit
412aff7b33
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user