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
cefe6c45
Unverified
Commit
cefe6c45
authored
Feb 15, 2023
by
Edward Thomson
Committed by
GitHub
Feb 15, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6480 from libgit2/ethomson/warn
Fix some warnings in main
parents
bf2f44d6
b8fff35a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
src/libgit2/streams/socket.c
+2
-1
tests/libgit2/repo/extensions.c
+1
-1
tests/libgit2/repo/objectformat.c
+2
-2
No files found.
src/libgit2/streams/socket.c
View file @
cefe6c45
...
...
@@ -135,7 +135,8 @@ static ssize_t socket_write(git_stream *stream, const char *data, size_t len, in
git_socket_stream
*
st
=
(
git_socket_stream
*
)
stream
;
ssize_t
written
;
assert
(
flags
==
0
);
GIT_ASSERT
(
flags
==
0
);
GIT_UNUSED
(
flags
);
errno
=
0
;
...
...
tests/libgit2/repo/extensions.c
View file @
cefe6c45
...
...
@@ -3,7 +3,7 @@
#include "sysdir.h"
#include <ctype.h>
git_repository
*
repo
;
static
git_repository
*
repo
;
void
test_repo_extensions__initialize
(
void
)
{
...
...
tests/libgit2/repo/objectformat.c
View file @
cefe6c45
...
...
@@ -4,8 +4,8 @@
#include "repository.h"
#include <ctype.h>
git_repository
*
repo
;
git_config
*
config
;
static
git_repository
*
repo
;
static
git_config
*
config
;
void
test_repo_objectformat__initialize
(
void
)
{
...
...
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