diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2020-12-08 19:46:25 +0000 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2023-05-13 14:09:51 +0100 |
commit | ebf2991f06d8831ed23524a068210b8103b5f604 (patch) | |
tree | 36898ddcc75045725c1ee9510a9d53d7fa1387d1 /src/libgit2/oid.c | |
parent | 4f76ef568d74c63031eb42fc10bf08b5641e5f0b (diff) | |
download | libgit2-ebf2991f06d8831ed23524a068210b8103b5f604.tar.gz |
threadstate: don't use an unnecessary macro
Now that we've reduced the usage of GIT_THREADSTATE, remove it entirely
in favor of git_threadstate_get().
Diffstat (limited to 'src/libgit2/oid.c')
-rw-r--r-- | src/libgit2/oid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libgit2/oid.c b/src/libgit2/oid.c index ab758fff4..631a566eb 100644 --- a/src/libgit2/oid.c +++ b/src/libgit2/oid.c @@ -155,7 +155,7 @@ int git_oid_pathfmt(char *str, const git_oid *oid) char *git_oid_tostr_s(const git_oid *oid) { - git_threadstate *threadstate = GIT_THREADSTATE; + git_threadstate *threadstate = git_threadstate_get(); char *str; if (!threadstate) |