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
c4f60543
Commit
c4f60543
authored
Nov 20, 2015
by
Edward Thomson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3517 from jacquesg/warnings-fixes
Fix some warnings
parents
7a612b53
87428c55
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
3 deletions
+3
-3
tests/checkout/crlf.c
+1
-1
tests/core/filebuf.c
+1
-1
tests/diff/notify.c
+1
-0
tests/index/racy.c
+0
-1
No files found.
tests/checkout/crlf.c
View file @
c4f60543
...
...
@@ -278,7 +278,7 @@ void test_checkout_crlf__autocrlf_true_index_size_is_filtered_size(void)
void
test_checkout_crlf__with_ident
(
void
)
{
git_index
*
index
;
git_index_entry
*
entry
;
const
git_index_entry
*
entry
;
git_blob
*
blob
;
git_checkout_options
opts
=
GIT_CHECKOUT_OPTIONS_INIT
;
opts
.
checkout_strategy
=
GIT_CHECKOUT_FORCE
;
...
...
tests/core/filebuf.c
View file @
c4f60543
...
...
@@ -233,7 +233,7 @@ void test_core_filebuf__hidden_file(void)
void
test_core_filebuf__detects_directory
(
void
)
{
git_filebuf
file
=
GIT_FILEBUF_INIT
,
fail
=
GIT_FILEBUF_INIT
;
git_filebuf
file
=
GIT_FILEBUF_INIT
;
cl_must_pass
(
p_mkdir
(
"foo"
,
0777
));
cl_git_fail_with
(
GIT_EDIRECTORY
,
git_filebuf_open
(
&
file
,
"foo"
,
0
,
0666
));
...
...
tests/diff/notify.c
View file @
c4f60543
...
...
@@ -235,6 +235,7 @@ static int progress_abort_diff(
const
char
*
new_path
,
void
*
payload
)
{
GIT_UNUSED
(
diff_so_far
);
GIT_UNUSED
(
old_path
);
GIT_UNUSED
(
new_path
);
GIT_UNUSED
(
payload
);
...
...
tests/index/racy.c
View file @
c4f60543
...
...
@@ -305,7 +305,6 @@ void test_index_racy__read_index_clears_uptodate_bit(void)
{
git_index
*
index
,
*
newindex
;
const
git_index_entry
*
entry
;
git_oid
id
;
setup_uptodate_files
();
...
...
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