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
c0ffe518
Commit
c0ffe518
authored
Mar 23, 2011
by
Vicent Marti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not return on `void` helper methods
MSVC doesn't swallow that.
parent
f0d08b7c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
include/git2/blob.h
+1
-1
include/git2/commit.h
+1
-1
include/git2/tag.h
+1
-1
include/git2/tree.h
+1
-1
No files found.
include/git2/blob.h
View file @
c0ffe518
...
...
@@ -66,7 +66,7 @@ GIT_INLINE(int) git_blob_lookup(git_blob **blob, git_repository *repo, const git
GIT_INLINE
(
void
)
git_blob_close
(
git_blob
*
blob
)
{
return
git_object_close
((
git_object
*
)
blob
);
git_object_close
((
git_object
*
)
blob
);
}
...
...
include/git2/commit.h
View file @
c0ffe518
...
...
@@ -67,7 +67,7 @@ GIT_INLINE(int) git_commit_lookup(git_commit **commit, git_repository *repo, con
GIT_INLINE
(
void
)
git_commit_close
(
git_commit
*
commit
)
{
return
git_object_close
((
git_object
*
)
commit
);
git_object_close
((
git_object
*
)
commit
);
}
/**
...
...
include/git2/tag.h
View file @
c0ffe518
...
...
@@ -66,7 +66,7 @@ GIT_INLINE(int) git_tag_lookup(git_tag **tag, git_repository *repo, const git_oi
GIT_INLINE
(
void
)
git_tag_close
(
git_tag
*
tag
)
{
return
git_object_close
((
git_object
*
)
tag
);
git_object_close
((
git_object
*
)
tag
);
}
...
...
include/git2/tree.h
View file @
c0ffe518
...
...
@@ -66,7 +66,7 @@ GIT_INLINE(int) git_tree_lookup(git_tree **tree, git_repository *repo, const git
GIT_INLINE
(
void
)
git_tree_close
(
git_tree
*
tree
)
{
return
git_object_close
((
git_object
*
)
tree
);
git_object_close
((
git_object
*
)
tree
);
}
...
...
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