diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2020-11-22 00:01:09 +0000 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2020-11-27 11:09:21 +0000 |
commit | 4f5f112793c520eaf3f517b295c0128e0efea73e (patch) | |
tree | 28d48648b6a109d847ea3ef2729141b492af9282 /src/transports/local.c | |
parent | 07a3c9928aa36cfd6f02d500222ed6cb22eeeed1 (diff) | |
download | libgit2-4f5f112793c520eaf3f517b295c0128e0efea73e.tar.gz |
transports: use GIT_ASSERT
Diffstat (limited to 'src/transports/local.c')
-rw-r--r-- | src/transports/local.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transports/local.c b/src/transports/local.c index 210de9f74..4af85db81 100644 --- a/src/transports/local.c +++ b/src/transports/local.c @@ -158,7 +158,7 @@ static int store_refs(transport_local *t) git_remote_head *head; git_strarray ref_names = {0}; - assert(t); + GIT_ASSERT_ARG(t); if (git_reference_list(&ref_names, t->repo) < 0) goto on_error; |