Skip to content

Commit fc98354

Browse files
committed
sysdir: use GIT_ASSERT
1 parent c06e798 commit fc98354

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sysdir.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ static int get_passwd_home(git_buf *out, uid_t uid)
4545
long buflen;
4646
int error;
4747

48-
assert(out);
48+
GIT_ASSERT_ARG(out);
4949

5050
if ((buflen = sysconf(_SC_GETPW_R_SIZE_MAX)) == -1)
5151
buflen = 1024;
@@ -204,7 +204,7 @@ static int git_sysdir_check_selector(git_sysdir_t which)
204204

205205
int git_sysdir_get(const git_buf **out, git_sysdir_t which)
206206
{
207-
assert(out);
207+
GIT_ASSERT_ARG(out);
208208

209209
*out = NULL;
210210

0 commit comments

Comments
 (0)