Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-tus
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-tus
Commits
26f79400
Unverified
Commit
26f79400
authored
Jan 03, 2024
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compile with -Wall -Werror - this could have saved us from some bugs...
parent
6fc0f106
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletion
+13
-1
Makefile.am
src/Makefile.am
+3
-1
flint.lnt
src/flint.lnt
+1
-0
tus_blob.c
src/tus_blob.c
+9
-0
No files found.
src/Makefile.am
View file @
26f79400
AM_CFLAGS
=
$(VARNISHAPI_CFLAGS)
DEV_CFLAGS
=
-Wall
-Werror
AM_CFLAGS
=
$(VARNISHAPI_CFLAGS)
$(DEV_CFLAGS)
# ----------------------------------------
# get header from ext vmod
...
...
src/flint.lnt
View file @
26f79400
...
...
@@ -17,6 +17,7 @@
-esym(765, tus_files_VSPLAY_*)
-esym(768, Vmod_vmod_*_Func::*)
-efile(766, *_if.c)
-esym(528, avoid_compiler_warnings)
-esym(528, vmod_priv_blob*, VGC_*)
-esym(843, vmod_priv_blob*, VGC_*)
-esym(844, vmod_priv_blob*, VGC_*)
...
...
src/tus_blob.c
View file @
26f79400
...
...
@@ -42,6 +42,15 @@
#include "tus_blob.h"
#include "tus_checksums.h"
//avoid defined but not used
static
inline
void
avoid_compiler_warnings
(
void
)
{
(
void
)
vmod_priv_blobdigest
;
(
void
)
VGC_vmod_blobdigest
;
(
void
)
vmod_priv_blob
;
(
void
)
VGC_vmod_blob
;
}
static
const
struct
Vmod_vmod_blob_Func
*
vmod_blob
=
NULL
;
static
const
struct
Vmod_vmod_blobdigest_Func
*
vmod_blobdigest
=
NULL
;
static
void
*
dl_vmod_blob
=
NULL
;
...
...
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