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
e3557172
Commit
e3557172
authored
May 17, 2012
by
Russell Belfer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No point in keeping commented out fn
parent
a0d95962
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
src/buffer.c
+0
-9
No files found.
src/buffer.c
View file @
e3557172
...
@@ -98,15 +98,6 @@ void git_buf_clear(git_buf *buf)
...
@@ -98,15 +98,6 @@ void git_buf_clear(git_buf *buf)
buf
->
ptr
[
0
]
=
'\0'
;
buf
->
ptr
[
0
]
=
'\0'
;
}
}
/* Moved to inline function:
bool git_buf_oom(const git_buf *buf)
{
return (buf->ptr == git_buf__oom);
}
*/
int
git_buf_set
(
git_buf
*
buf
,
const
char
*
data
,
size_t
len
)
int
git_buf_set
(
git_buf
*
buf
,
const
char
*
data
,
size_t
len
)
{
{
if
(
len
==
0
||
data
==
NULL
)
{
if
(
len
==
0
||
data
==
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