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
466985b5
Commit
466985b5
authored
Jan 18, 2017
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More unreachable code
parent
761905d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
10 deletions
+8
-10
vtc_http2.c
bin/varnishtest/vtc_http2.c
+7
-9
vtc_logexp.c
bin/varnishtest/vtc_logexp.c
+1
-1
No files found.
bin/varnishtest/vtc_http2.c
View file @
466985b5
...
...
@@ -830,14 +830,12 @@ receive_frame(void *priv)
return
(
NULL
);
}
#define STRTOU32(n, s, p, v, c) \
do { \
n = strtoul(s, &p, 0); \
if (*p != '\0') { \
vtc_fatal(v, "%s takes an integer as argument" \
"(found %s)", c, s); \
WRONG("Couldn't convert to integer");\
} \
#define STRTOU32(n, s, p, v, c) \
do { \
n = strtoul(s, &p, 0); \
if (*p != '\0') \
vtc_fatal(v, "%s takes an integer as argument" \
"(found %s)", c, s); \
} while (0)
#define STRTOU32_CHECK(n, sp, p, v, c, l) \
...
...
@@ -851,7 +849,7 @@ do { \
} while (0)
#define CHECK_LAST_FRAME(TYPE) \
if (!f || f->type != TYPE_ ## TYPE) { \
if (!f || f->type != TYPE_ ## TYPE) {
\
vtc_fatal(s->hp->vl, "Last frame was not of type " #TYPE); \
}
...
...
bin/varnishtest/vtc_logexp.c
View file @
466985b5
...
...
@@ -578,7 +578,7 @@ cmd_logexpect(CMD_ARGS)
if
(
av
[
1
]
==
NULL
)
vtc_fatal
(
le
->
vl
,
"Missing -g argument"
);
le
->
g_arg
=
VSLQ_Name2Grouping
(
av
[
1
],
strlen
(
av
[
1
]));
if
(
le
->
g_arg
<
0
)
if
(
le
->
g_arg
<
0
)
vtc_fatal
(
le
->
vl
,
"Unknown grouping '%s'"
,
av
[
1
]);
av
++
;
...
...
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