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, ...@@ -203,7 +203,7 @@ VPI_acl_table(VRT_CTX, VCL_IP p, unsigned n, unsigned m, const uint8_t *tbl,
sz /= m; sz /= m;
if (str != NULL) if (str != NULL)
VPI_acl_log(ctx, str[sz]); VPI_acl_log(ctx, str[sz]);
return *ptr; return (*ptr);
} }
if (str != NULL) if (str != NULL)
VPI_acl_log(ctx, fin); VPI_acl_log(ctx, fin);
......
...@@ -75,7 +75,7 @@ h2_framename(enum h2frame h2f) ...@@ -75,7 +75,7 @@ h2_framename(enum h2frame h2f)
{ {
switch (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" #include "tbl/h2_frames.h"
default: default:
return (NULL); return (NULL);
......
...@@ -102,7 +102,7 @@ vbit_init(void *p, size_t sz) ...@@ -102,7 +102,7 @@ vbit_init(void *p, size_t sz)
struct vbitmap *vb; struct vbitmap *vb;
if (sz < sizeof(*vb)) if (sz < sizeof(*vb))
return NULL; return (NULL);
memset(p, 0, sz); memset(p, 0, sz);
vb = p; vb = p;
......
...@@ -527,7 +527,7 @@ vcc_acl_emit_tables(const struct vcc *tl, unsigned n, const char *name) ...@@ -527,7 +527,7 @@ vcc_acl_emit_tables(const struct vcc *tl, unsigned n, const char *name)
} }
Fh(tl, 0, "};\n"); 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