Commit 9cf2c9dc1e08f77bb74bfc1bc8feaabcde91d20e

Edward Thomson 2020-04-05T22:05:40

signature: use GIT_ASSERT

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/signature.c b/src/signature.c
index 0fbd3d5..1efda21 100644
--- a/src/signature.c
+++ b/src/signature.c
@@ -304,9 +304,6 @@ void git_signature__writebuf(git_buf *buf, const char *header, const git_signatu
 	int offset, hours, mins;
 	char sign;
 
-	GIT_ASSERT_ARG(buf);
-	GIT_ASSERT_ARG(sig);
-
 	offset = sig->when.offset;
 	sign = (sig->when.offset < 0 || sig->when.sign == '-') ? '-' : '+';