diff options
author | Neil Conway | 2006-01-11 08:43:13 +0000 |
---|---|---|
committer | Neil Conway | 2006-01-11 08:43:13 +0000 |
commit | fb627b76ccc4c7074e37b6b94155864f6cbd1b23 (patch) | |
tree | a8e7b008b4f6c2a2188641937e5b984f40b60104 /src/backend/utils/adt/network.c | |
parent | 762bcbdba2a2519b01b17b2c2b28f36e5ee9ea25 (diff) |
Cosmetic code cleanup: fix a bunch of places that used "return (expr);"
rather than "return expr;" -- the latter style is used in most of the
tree. I kept the parentheses when they were necessary or useful because
the return expression was complex.
Diffstat (limited to 'src/backend/utils/adt/network.c')
-rw-r--r-- | src/backend/utils/adt/network.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/adt/network.c b/src/backend/utils/adt/network.c index e3917960775..fa57567c632 100644 --- a/src/backend/utils/adt/network.c +++ b/src/backend/utils/adt/network.c @@ -1,7 +1,7 @@ /* * PostgreSQL type definitions for the INET and CIDR types. * - * $PostgreSQL: pgsql/src/backend/utils/adt/network.c,v 1.57 2005/12/25 02:14:17 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/utils/adt/network.c,v 1.58 2006/01/11 08:43:12 neilc Exp $ * * Jon Postel RIP 16 Oct 1998 */ @@ -898,7 +898,7 @@ bitncmp(void *l, void *r, int n) b = n / 8; x = memcmp(l, r, b); if (x) - return (x); + return x; lb = ((const u_char *) l)[b]; rb = ((const u_char *) r)[b]; |