Skip to content
Browse files

Partial revert of "Appropriate VSL group checking"

This would trigger the tautological-compare warning on a recent-enough
Clang, and SunCC appears to complain as well.

Reported by @daghf.
  • Loading branch information...
Dridi committed Jun 12, 2019
1 parent 316dfbc commit f1584fd8d8e28308ef0c37af7b33aad947fcf50f
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/libvarnishapi/vsl_dispatch.c
@@ -1088,7 +1088,7 @@ VSLQ_New(struct VSL_data *vsl, struct VSL_cursor **cp,
struct VSLQ *vslq;

if (grouping < 0 || grouping >= VSL_g__MAX) {
if (grouping >= VSL_g__MAX) {
(void)vsl_diag(vsl, "Illegal query grouping");
return (NULL);

0 comments on commit f1584fd

Please sign in to comment.
You can’t perform that action at this time.