vendor/libgit2/src/win32/map.c in rugged-1.1.1 vs vendor/libgit2/src/win32/map.c in rugged-1.2.0
- old
+ new
@@ -115,10 +115,10 @@
int p_munmap(git_map *map)
{
int error = 0;
- assert(map != NULL);
+ GIT_ASSERT_ARG(map);
if (map->data) {
if (!UnmapViewOfFile(map->data)) {
git_error_set(GIT_ERROR_OS, "failed to munmap. Could not unmap view of file");
error = -1;