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
64bcf567
Commit
64bcf567
authored
Oct 26, 2014
by
Pierre-Olivier Latour
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed potential crash with uninitialized variables
parent
ea66215d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/describe.c
+1
-1
src/remote.c
+1
-1
No files found.
src/describe.c
View file @
64bcf567
...
...
@@ -725,7 +725,7 @@ int git_describe_workdir(
git_oid
current_id
;
git_status_list
*
status
=
NULL
;
git_status_options
status_opts
=
GIT_STATUS_OPTIONS_INIT
;
git_describe_result
*
result
;
git_describe_result
*
result
=
NULL
;
git_object
*
commit
;
if
((
error
=
git_reference_name_to_id
(
&
current_id
,
repo
,
GIT_HEAD_FILE
))
<
0
)
...
...
src/remote.c
View file @
64bcf567
...
...
@@ -1691,7 +1691,7 @@ int git_remote_rename(git_strarray *out, git_repository *repo, const char *name,
{
int
error
;
git_vector
problem_refspecs
=
GIT_VECTOR_INIT
;
git_remote
*
remote
;
git_remote
*
remote
=
NULL
;
assert
(
out
&&
repo
&&
name
&&
new_name
);
...
...
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