[master] 4e11608ba More flexelinting
Nils Goroll
nils.goroll at uplex.de
Wed Jun 5 08:40:05 UTC 2024
commit 4e11608baffa34af86f98de529cacbf7499623c9
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Wed Jun 5 10:39:21 2024 +0200
More flexelinting
include cleanup and same change as cccb8c1d44daff940e89649be5f69d7b8797ad85
diff --git a/lib/libvarnishapi/vsl_query.c b/lib/libvarnishapi/vsl_query.c
index d6496043e..73824345b 100644
--- a/lib/libvarnishapi/vsl_query.c
+++ b/lib/libvarnishapi/vsl_query.c
@@ -212,7 +212,7 @@ vslq_test_rec(const struct vex *vex, const struct VSLC_ptr *rec)
AN(q);
if (q != e && (*q == '.' || *q == 'e')) {
lhs_float = strtod(b, &q);
- lhs_int = trunc(lhs_float);
+ lhs_int = (long long)lhs_float;
lhs_float = 0.;
}
break;
diff --git a/lib/libvarnishapi/vxp_parse.c b/lib/libvarnishapi/vxp_parse.c
index bfd162fa8..7297d21a1 100644
--- a/lib/libvarnishapi/vxp_parse.c
+++ b/lib/libvarnishapi/vxp_parse.c
@@ -41,7 +41,6 @@
#include "miniobj.h"
#include "vbm.h"
-#include "vnum.h"
#include "vqueue.h"
#include "vre.h"
#include "vsb.h"
More information about the varnish-commit
mailing list