Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-blob
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
libvmod-blob
Commits
7042f584
Commit
7042f584
authored
May 23, 2017
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Turn on -Wextra, and silence a warning that it brought about.
parent
ba187152
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
Makefile.am
src/Makefile.am
+1
-1
vmod_blob.c
src/vmod_blob.c
+2
-1
No files found.
src/Makefile.am
View file @
7042f584
AM_CPPFLAGS
=
@VMOD_INCLUDES@
-Wall
-Werror
AM_CPPFLAGS
=
@VMOD_INCLUDES@
-Wall
-Werror
-Wextra
CFLAGS
+=
-std
=
c99
vmoddir
=
@VMOD_DIR@
...
...
src/vmod_blob.c
View file @
7042f584
...
...
@@ -92,7 +92,8 @@ vmod_integer(VRT_CTX, VCL_BLOB b, VCL_ENUM padding)
{
VCL_INT
i
=
0
;
if
(
b
->
len
>=
sizeof
(
VCL_INT
))
assert
(
b
->
len
>=
0
);
if
((
unsigned
)
b
->
len
>=
sizeof
(
VCL_INT
))
return
*
((
VCL_INT
*
)
b
->
priv
);
if
(
b
->
len
==
0
)
{
ERR
(
ctx
,
"blob length is 0 in blob.integer()"
);
...
...
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