summaryrefslogtreecommitdiff
path: root/src/patch_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/patch_parse.c')
-rw-r--r--src/patch_parse.c3
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;