Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
6fdc5c81
Commit
6fdc5c81
authored
Sep 14, 2011
by
Poul-Henning Kamp
Committed by
Tollef Fog Heen
Sep 22, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor flexelint'ing
parent
df412e73
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
15 deletions
+2
-15
flint.lnt
bin/varnishtest/flint.lnt
+1
-0
vtc.c
bin/varnishtest/vtc.c
+0
-13
vtc.h
bin/varnishtest/vtc.h
+0
-1
vtc_http.c
bin/varnishtest/vtc_http.c
+1
-1
No files found.
bin/varnishtest/flint.lnt
View file @
6fdc5c81
...
...
@@ -22,3 +22,4 @@
-e737 // [45] Loss of sign in promotion from int to unsigned
-e713 // Loss of precision (assignment) (unsigned long long to long long)
-e574 // Signed-unsigned mix with relational
-e835 // A zero has been given as ___ argument to operator '___' (<<)
bin/varnishtest/vtc.c
View file @
6fdc5c81
...
...
@@ -60,7 +60,6 @@ volatile sig_atomic_t vtc_error; /* Error encountered */
int
vtc_stop
;
/* Stops current test without error */
pthread_t
vtc_thread
;
static
struct
vtclog
*
vltop
;
int
in_tree
=
0
;
/* Are we running in-tree */
/**********************************************************************
* Macro facility
...
...
@@ -238,18 +237,6 @@ extmacro_def(const char *name, const char *fmt, ...)
}
}
const
char
*
extmacro_get
(
const
char
*
name
)
{
struct
extmacro
*
m
;
VTAILQ_FOREACH
(
m
,
&
extmacro_list
,
list
)
if
(
!
strcmp
(
name
,
m
->
name
))
return
(
m
->
val
);
return
(
NULL
);
}
/**********************************************************************
* Execute a file
*/
...
...
bin/varnishtest/vtc.h
View file @
6fdc5c81
...
...
@@ -85,4 +85,3 @@ void macro_def(struct vtclog *vl, const char *instance, const char *name,
struct
vsb
*
macro_expand
(
struct
vtclog
*
vl
,
const
char
*
text
);
void
extmacro_def
(
const
char
*
name
,
const
char
*
fmt
,
...);
const
char
*
extmacro_get
(
const
char
*
name
);
bin/varnishtest/vtc_http.c
View file @
6fdc5c81
...
...
@@ -586,7 +586,7 @@ cmd_http_gunzip_body(CMD_ARGS)
*/
static
void
gzip_body
(
struct
http
*
hp
,
const
char
*
txt
,
char
**
body
,
int
*
bodylen
)
gzip_body
(
const
struct
http
*
hp
,
const
char
*
txt
,
char
**
body
,
int
*
bodylen
)
{
int
l
,
i
;
z_stream
vz
;
...
...
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