Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
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
unique-xids
Commits
0bda0cb3
Commit
0bda0cb3
authored
Sep 14, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor flexelint'ing
parent
083d19a6
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 @
0bda0cb3
...
...
@@ -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 @
0bda0cb3
...
...
@@ -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 @
0bda0cb3
...
...
@@ -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 @
0bda0cb3
...
...
@@ -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