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
2aee1aa4
Commit
2aee1aa4
authored
Apr 18, 2013
by
Russell Belfer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix uninitialized var warnings
parent
627d5908
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
src/index.c
+1
-1
src/revparse.c
+1
-1
tests-clar/repo/iterator.c
+1
-1
No files found.
src/index.c
View file @
2aee1aa4
...
...
@@ -1345,7 +1345,7 @@ static size_t read_extension(git_index *index, const char *buffer, size_t buffer
static
int
parse_index
(
git_index
*
index
,
const
char
*
buffer
,
size_t
buffer_size
)
{
unsigned
int
i
;
struct
index_header
header
;
struct
index_header
header
=
{
0
}
;
git_oid
checksum_calculated
,
checksum_expected
;
#define seek_forward(_increase) { \
...
...
src/revparse.c
View file @
2aee1aa4
...
...
@@ -16,7 +16,7 @@
static
int
disambiguate_refname
(
git_reference
**
out
,
git_repository
*
repo
,
const
char
*
refname
)
{
int
error
,
i
;
int
error
=
0
,
i
;
bool
fallbackmode
=
true
;
git_reference
*
ref
;
git_buf
refnamebuf
=
GIT_BUF_INIT
,
name
=
GIT_BUF_INIT
;
...
...
tests-clar/repo/iterator.c
View file @
2aee1aa4
...
...
@@ -422,7 +422,7 @@ static void build_test_tree(
git_treebuilder
*
builder
;
const
char
*
scan
=
fmt
,
*
next
;
char
type
,
delimiter
;
git_filemode_t
mode
;
git_filemode_t
mode
=
GIT_FILEMODE_BLOB
;
git_buf
name
=
GIT_BUF_INIT
;
va_list
arglist
;
...
...
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