Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
fc983542
Commit
fc983542
authored
Apr 05, 2020
by
Edward Thomson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sysdir: use GIT_ASSERT
parent
c06e7987
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/sysdir.c
+2
-2
No files found.
src/sysdir.c
View file @
fc983542
...
...
@@ -45,7 +45,7 @@ static int get_passwd_home(git_buf *out, uid_t uid)
long
buflen
;
int
error
;
assert
(
out
);
GIT_ASSERT_ARG
(
out
);
if
((
buflen
=
sysconf
(
_SC_GETPW_R_SIZE_MAX
))
==
-
1
)
buflen
=
1024
;
...
...
@@ -204,7 +204,7 @@ static int git_sysdir_check_selector(git_sysdir_t which)
int
git_sysdir_get
(
const
git_buf
**
out
,
git_sysdir_t
which
)
{
assert
(
out
);
GIT_ASSERT_ARG
(
out
);
*
out
=
NULL
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment