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
7135e77a
Commit
7135e77a
authored
Nov 19, 2013
by
Vicent Martí
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1967 from victorgp/cleaning-code-minor-change
Cleaning code, removing unused variables
parents
e1ce5249
10b6678f
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 @
7135e77a
...
...
@@ -219,7 +219,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
;
...
...
@@ -232,8 +231,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
;
...
...
@@ -242,7 +239,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