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
b093bb56
Unverified
Commit
b093bb56
authored
Aug 06, 2018
by
Edward Thomson
Committed by
GitHub
Aug 06, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4759 from pks-t/pks/ci-werror
ci: enable compilation with "-Werror"
parents
9ada072e
90084657
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ci/build.sh
+1
-1
src/odb.c
+2
-2
No files found.
ci/build.sh
View file @
b093bb56
...
...
@@ -29,7 +29,7 @@ echo "## Configuring build environment"
echo
"##############################################################################"
echo
cmake
${
SOURCE_DIR
}
-DBUILD_EXAMPLES
=
ON
${
CMAKE_OPTIONS
}
cmake
${
SOURCE_DIR
}
-DBUILD_EXAMPLES
=
ON
-DBUILD_FUZZERS
=
ON
-DUSE_STANDALONE_FUZZERS
=
ON
${
CMAKE_OPTIONS
}
cmake
${
SOURCE_DIR
}
-D
ENABLE_WERROR
=
ON
-D
BUILD_EXAMPLES
=
ON
-DBUILD_FUZZERS
=
ON
-DUSE_STANDALONE_FUZZERS
=
ON
${
CMAKE_OPTIONS
}
echo
""
echo
"##############################################################################"
...
...
src/odb.c
View file @
b093bb56
...
...
@@ -1384,8 +1384,8 @@ static int git_odb_stream__invalid_length(
{
giterr_set
(
GITERR_ODB
,
"cannot %s - "
"Invalid length. %"
PRId
Z
" was expected. The "
"total size of the received chunks amounts to %"
PRId
Z
"."
,
"Invalid length. %"
PRId
64
" was expected. The "
"total size of the received chunks amounts to %"
PRId
64
"."
,
action
,
stream
->
declared_size
,
stream
->
received_bytes
);
return
-
1
;
...
...
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