mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 22:25:04 +00:00
clar: mark cl_git_thread_check()
as inline
The function `cl_git_thread_check()` is defined as static. As the function is defined in a header file which is included by our tests, this can result in warnings for every test file where `cl_git_thread_check` is never used. Fix the issue by marking it as inline instead.
This commit is contained in:
parent
8339c66068
commit
ab0cc5a059
@ -79,7 +79,7 @@ typedef struct {
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
static void cl_git_thread_check(void *data)
|
||||
GIT_INLINE(void) cl_git_thread_check(void *data)
|
||||
{
|
||||
cl_git_thread_err *threaderr = (cl_git_thread_err *)data;
|
||||
if (threaderr->error != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user