diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2020-11-22 09:43:06 +0000 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2020-11-25 11:42:07 +0000 |
commit | 7b185b83dddde4aa6d1fd6c158c115b618e0814d (patch) | |
tree | 91f8db499feb0e2e60994fc506cf690943b2a724 /src/unix/map.c | |
parent | c7d607992319c0b117f07960b973bf7cd63fe90f (diff) | |
download | libgit2-ethomson/assert.tar.gz |
win32: use GIT_ASSERTethomson/assert
Diffstat (limited to 'src/unix/map.c')
-rw-r--r-- | src/unix/map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unix/map.c b/src/unix/map.c index 7f9076e19..62c52578b 100644 --- a/src/unix/map.c +++ b/src/unix/map.c @@ -66,7 +66,7 @@ int p_mmap(git_map *out, size_t len, int prot, int flags, int fd, off64_t offset int p_munmap(git_map *map) { - assert(map != NULL); + GIT_ASSERT_ARG(map); munmap(map->data, map->len); return 0; |