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
a589f22a
Commit
a589f22a
authored
Nov 30, 2015
by
Carlos Martín Nieto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3525 from pks-t/pks/fix-nested-struct-warning
Compiler warning fixes
parents
a27f31d8
bbd2fa4e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
3 deletions
+1
-3
src/object.c
+0
-2
tests/index/racy.c
+1
-1
No files found.
src/object.c
View file @
a589f22a
...
...
@@ -14,8 +14,6 @@
#include "blob.h"
#include "tag.h"
static
const
int
OBJECT_BASE_SIZE
=
4096
;
typedef
struct
{
const
char
*
str
;
/* type name string */
size_t
size
;
/* size in bytes of the object structure */
...
...
tests/index/racy.c
View file @
a589f22a
...
...
@@ -178,7 +178,7 @@ static void setup_uptodate_files(void)
{
git_buf
path
=
GIT_BUF_INIT
;
git_index
*
index
;
git_index_entry
new_entry
=
{
0
};
git_index_entry
new_entry
=
{
{
0
}
};
cl_git_pass
(
git_repository_index
(
&
index
,
g_repo
));
...
...
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