Commit bb6d8858 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Style OCD: () around return values

parent a0ad961a
......@@ -203,7 +203,7 @@ VPI_acl_table(VRT_CTX, VCL_IP p, unsigned n, unsigned m, const uint8_t *tbl,
sz /= m;
if (str != NULL)
VPI_acl_log(ctx, str[sz]);
return *ptr;
return (*ptr);
}
if (str != NULL)
VPI_acl_log(ctx, fin);
......
......@@ -75,7 +75,7 @@ h2_framename(enum h2frame h2f)
{
switch (h2f) {
#define H2_FRAME(l,u,t,f,...) case H2F_##u: return #u;
#define H2_FRAME(l,u,t,f,...) case H2F_##u: return (#u);
#include "tbl/h2_frames.h"
default:
return (NULL);
......
......@@ -102,7 +102,7 @@ vbit_init(void *p, size_t sz)
struct vbitmap *vb;
if (sz < sizeof(*vb))
return NULL;
return (NULL);
memset(p, 0, sz);
vb = p;
......
......@@ -527,7 +527,7 @@ vcc_acl_emit_tables(const struct vcc *tl, unsigned n, const char *name)
}
Fh(tl, 0, "};\n");
}
return (rv);
return (rv);
}
/*********************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment