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
10b6678f
Commit
10b6678f
authored
Nov 19, 2013
by
Victor Garcia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleaning code, removing unused variables
parent
87209444
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
src/remote.c
+0
-4
No files found.
src/remote.c
View file @
10b6678f
...
...
@@ -211,7 +211,6 @@ on_error:
int
git_remote_create_with_fetchspec
(
git_remote
**
out
,
git_repository
*
repo
,
const
char
*
name
,
const
char
*
url
,
const
char
*
fetch
)
{
git_buf
buf
=
GIT_BUF_INIT
;
git_remote
*
remote
=
NULL
;
int
error
;
...
...
@@ -224,8 +223,6 @@ int git_remote_create_with_fetchspec(git_remote **out, git_repository *repo, con
if
(
create_internal
(
&
remote
,
repo
,
name
,
url
,
fetch
)
<
0
)
goto
on_error
;
git_buf_free
(
&
buf
);
if
(
git_remote_save
(
remote
)
<
0
)
goto
on_error
;
...
...
@@ -234,7 +231,6 @@ int git_remote_create_with_fetchspec(git_remote **out, git_repository *repo, con
return
0
;
on_error:
git_buf_free
(
&
buf
);
git_remote_free
(
remote
);
return
-
1
;
}
...
...
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