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
17df9a6a
Commit
17df9a6a
authored
Jul 11, 2011
by
Tollef Fog Heen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation errors (set-but-unused variables)
Thanks to new GCC for spotting those.
parent
c11ac805
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
cache_response.c
bin/varnishd/cache_response.c
+1
-0
varnishreplay.c
bin/varnishreplay/varnishreplay.c
+0
-5
No files found.
bin/varnishd/cache_response.c
View file @
17df9a6a
...
...
@@ -265,6 +265,7 @@ res_WriteGunzipObj(struct sess *sp)
st
->
ptr
,
st
->
len
,
obuf
,
sizeof
obuf
,
&
obufl
);
/* XXX: error check */
(
void
)
i
;
}
if
(
obufl
)
{
(
void
)
WRW_Write
(
sp
->
wrk
,
obuf
,
obufl
);
...
...
bin/varnishreplay/varnishreplay.c
View file @
17df9a6a
...
...
@@ -494,7 +494,6 @@ replay_thread(void *arg)
struct
replay_thread
*
thr
=
arg
;
struct
message
*
msg
;
enum
VSL_tag_e
tag
;
size_t
len
;
char
*
ptr
;
const
char
*
next
;
...
...
@@ -504,7 +503,6 @@ replay_thread(void *arg)
while
((
msg
=
mailbox_get
(
&
thr
->
mbox
))
!=
NULL
)
{
tag
=
msg
->
tag
;
len
=
msg
->
len
;
ptr
=
msg
->
ptr
;
thread_log
(
2
,
0
,
"%s(%s)"
,
VSL_tags
[
tag
],
msg
->
ptr
);
...
...
@@ -639,14 +637,11 @@ gen_traffic(void *priv, enum VSL_tag_e tag, unsigned fd,
unsigned
len
,
unsigned
spec
,
const
char
*
ptr
,
uint64_t
bitmap
)
{
struct
replay_thread
*
thr
;
const
char
*
end
;
struct
message
*
msg
;
(
void
)
priv
;
(
void
)
bitmap
;
end
=
ptr
+
len
;
if
(
fd
==
0
||
!
(
spec
&
VSL_S_CLIENT
))
return
(
0
);
...
...
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