[master] e4efa422c Kill dead statement
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Thu Jun 13 05:49:07 UTC 2019
commit e4efa422cec26bf285deab9ebc4f024186e27c88
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Thu Jun 13 07:47:37 2019 +0200
Kill dead statement
Spotted by VTEST.
diff --git a/lib/libvarnishapi/vut.c b/lib/libvarnishapi/vut.c
index db7f97116..fe4f22cc7 100644
--- a/lib/libvarnishapi/vut.c
+++ b/lib/libvarnishapi/vut.c
@@ -199,10 +199,8 @@ VUT_Arg(struct VUT *vut, int opt, const char *arg)
case 'Q':
AN(arg);
p = VFIL_readfile(NULL, arg, NULL);
- if (p == NULL) {
+ if (p == NULL)
VUT_Error(vut, 1, "-Q %s: %s", arg, strerror(errno));
- return (-1);
- }
vut_arg_q(vut, p);
free(p);
return (1);
More information about the varnish-commit
mailing list