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
a3282aed
Commit
a3282aed
authored
Sep 03, 2015
by
Federico G. Schwindt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove superfluous returns
parent
81c0e4a6
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
2 additions
and
11 deletions
+2
-11
cache_vcl.c
bin/varnishd/cache/cache_vcl.c
+0
-2
hash_classic.c
bin/varnishd/hash/hash_classic.c
+0
-1
cache_http1_deliver.c
bin/varnishd/http1/cache_http1_deliver.c
+2
-2
cache_http1_line.c
bin/varnishd/http1/cache_http1_line.c
+0
-1
cache_proxy_proto.c
bin/varnishd/proxy/cache_proxy_proto.c
+0
-1
cache_waiter_ports.c
bin/varnishd/waiter/cache_waiter_ports.c
+0
-1
vxp_parse.c
lib/libvarnishapi/vxp_parse.c
+0
-1
vcc_action.c
lib/libvcc/vcc_action.c
+0
-1
vcc_backend_util.c
lib/libvcc/vcc_backend_util.c
+0
-1
No files found.
bin/varnishd/cache/cache_vcl.c
View file @
a3282aed
...
...
@@ -567,7 +567,6 @@ ccf_config_load(struct cli *cli, const char * const *av, void *priv)
ASSERT_CLI
();
if
(
VCL_Load
(
cli
,
av
[
2
],
av
[
3
],
av
[
4
]))
VCLI_SetResult
(
cli
,
CLIS_PARAM
);
return
;
}
static
void
__match_proto__
(
cli_func_t
)
...
...
@@ -640,7 +639,6 @@ ccf_config_use(struct cli *cli, const char * const *av, void *priv)
Lck_Unlock
(
&
vcl_mtx
);
}
VSB_delete
(
vsb
);
return
;
}
static
void
__match_proto__
(
cli_func_t
)
...
...
bin/varnishd/hash/hash_classic.c
View file @
a3282aed
...
...
@@ -78,7 +78,6 @@ hcl_init(int ac, char * const *av)
}
hcl_nhash
=
u
;
fprintf
(
stderr
,
"Classic hash: %u buckets
\n
"
,
hcl_nhash
);
return
;
}
/*--------------------------------------------------------------------
...
...
bin/varnishd/http1/cache_http1_deliver.c
View file @
a3282aed
...
...
@@ -59,7 +59,8 @@ v1d_bytes(struct req *req, enum vdp_action act, void **priv,
}
static
void
v1d_error
(
struct
req
*
req
,
const
char
*
msg
)
{
v1d_error
(
struct
req
*
req
,
const
char
*
msg
)
{
static
const
char
r_500
[]
=
"HTTP/1.1 500 Internal Server Error
\r\n
"
"Server: Varnish
\r\n
"
...
...
@@ -72,7 +73,6 @@ v1d_error(struct req *req, const char *msg) {
(
void
)
write
(
req
->
sp
->
fd
,
r_500
,
sizeof
r_500
-
1
);
req
->
doclose
=
SC_TX_EOF
;
return
;
}
/*--------------------------------------------------------------------
...
...
bin/varnishd/http1/cache_http1_line.c
View file @
a3282aed
...
...
@@ -106,7 +106,6 @@ V1L_Reserve(struct worker *wrk, struct ws *ws, int *fd, struct vsl_log *vsl,
v1l
->
t0
=
t0
;
v1l
->
vsl
=
vsl
;
wrk
->
v1l
=
v1l
;
return
;
}
unsigned
...
...
bin/varnishd/proxy/cache_proxy_proto.c
View file @
a3282aed
...
...
@@ -381,5 +381,4 @@ VPX_Proto_Sess(struct worker *wrk, void *priv)
req
->
sp
->
sess_step
=
S_STP_H1NEWREQ
;
wrk
->
task
.
func
=
SES_Proto_Req
;
wrk
->
task
.
priv
=
req
;
return
;
}
bin/varnishd/waiter/cache_waiter_ports.c
View file @
a3282aed
...
...
@@ -131,7 +131,6 @@ vws_port_ev(struct vws *vws, struct waiter *w, port_event_t *ev, double now) {
WAITER_REMCLOSE
:
WAITER_ACTION
,
now
);
}
return
;
}
static
void
*
...
...
lib/libvarnishapi/vxp_parse.c
View file @
a3282aed
...
...
@@ -397,7 +397,6 @@ vxp_expr_not(struct vxp *vxp, struct vex **pvex)
}
vxp_expr_group
(
vxp
,
pvex
);
return
;
}
/*
...
...
lib/libvcc/vcc_action.c
View file @
a3282aed
...
...
@@ -49,7 +49,6 @@ parse_call(struct vcc *tl)
Fb
(
tl
,
1
,
"if (VGC_function_%.*s(ctx))
\n
"
,
PF
(
tl
->
t
));
Fb
(
tl
,
1
,
"
\t
return (1);
\n
"
);
vcc_NextToken
(
tl
);
return
;
}
/*--------------------------------------------------------------------*/
...
...
lib/libvcc/vcc_backend_util.c
View file @
a3282aed
...
...
@@ -117,7 +117,6 @@ vcc_IsField(struct vcc *tl, struct token **t, struct fld_spec *fs)
vcc_ErrToken
(
tl
,
t_field
);
VSB_printf
(
tl
->
sb
,
" at
\n
"
);
vcc_ErrWhere
(
tl
,
t_field
);
return
;
}
void
...
...
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