diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2020-04-05 18:27:51 +0100 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2020-11-27 11:09:20 +0000 |
commit | 1a724625e76d9127cf03fb780a924650345f7f60 (patch) | |
tree | 9d10b057f2efd70d60675fd402a6d86630c010e3 /src/patch_parse.c | |
parent | 4dba9303359e45cb5a7cfe58740131140760b122 (diff) | |
download | libgit2-1a724625e76d9127cf03fb780a924650345f7f60.tar.gz |
patch: use GIT_ASSERT
Diffstat (limited to 'src/patch_parse.c')
-rw-r--r-- | src/patch_parse.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/patch_parse.c b/src/patch_parse.c index 2bf94c2cb..2cc5c5995 100644 --- a/src/patch_parse.c +++ b/src/patch_parse.c @@ -1168,7 +1168,8 @@ int git_patch_parse( size_t start, used; int error = 0; - assert(out && ctx); + GIT_ASSERT_ARG(out); + GIT_ASSERT_ARG(ctx); *out = NULL; |