vendor/libgit2/src/patch_parse.c in rugged-1.1.1 vs vendor/libgit2/src/patch_parse.c in rugged-1.2.0

- old
+ new

@@ -1166,10 +1166,11 @@ { git_patch_parsed *patch; size_t start, used; int error = 0; - assert(out && ctx); + GIT_ASSERT_ARG(out); + GIT_ASSERT_ARG(ctx); *out = NULL; patch = git__calloc(1, sizeof(git_patch_parsed)); GIT_ERROR_CHECK_ALLOC(patch);