Skip to content

Commit c4cbab3

Browse files
committed
Handle one more unused variable introduced since the PR started
1 parent 7488705 commit c4cbab3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/path.c

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1915,7 +1915,13 @@ GIT_INLINE(bool) should_validate_longpaths(git_repository *repo)
19151915
}
19161916

19171917
#else
1918-
# define should_validate_longpaths(repo) (GIT_UNUSED(repo), false)
1918+
1919+
GIT_INLINE(bool) should_validate_longpaths(git_repository *repo)
1920+
{
1921+
GIT_UNUSED(repo);
1922+
1923+
return false;
1924+
}
19191925
#endif
19201926

19211927
int git_path_validate_workdir(git_repository *repo, const char *path)

0 commit comments

Comments
 (0)