зеркало из https://github.com/microsoft/git.git
files-backend.c: fix build error on Solaris
This function files_reflog_path returns void, which usually means "return;" not returning "void value" from another function. Reported-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
14f74d5907
Коммит
46c0eb5843
|
@ -180,7 +180,8 @@ static void files_reflog_path(struct files_ref_store *refs,
|
|||
break;
|
||||
case REF_TYPE_OTHER_PSEUDOREF:
|
||||
case REF_TYPE_MAIN_PSEUDOREF:
|
||||
return files_reflog_path_other_worktrees(refs, sb, refname);
|
||||
files_reflog_path_other_worktrees(refs, sb, refname);
|
||||
break;
|
||||
case REF_TYPE_NORMAL:
|
||||
strbuf_addf(sb, "%s/logs/%s", refs->gitcommondir, refname);
|
||||
break;
|
||||
|
|
Загрузка…
Ссылка в новой задаче