aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/mb/wstrncmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/utils/mb/wstrncmp.c')
-rw-r--r--src/backend/utils/mb/wstrncmp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/utils/mb/wstrncmp.c b/src/backend/utils/mb/wstrncmp.c
index 6c42a7604d8..368e39b52e5 100644
--- a/src/backend/utils/mb/wstrncmp.c
+++ b/src/backend/utils/mb/wstrncmp.c
@@ -42,7 +42,7 @@ pg_wchar_strncmp(s1, s2, n)
{
if (n == 0)
- return (0);
+ return 0;
do {
if (*s1 != *s2++)
return (*(const pg_wchar *)s1 -
@@ -50,7 +50,7 @@ pg_wchar_strncmp(s1, s2, n)
if (*s1++ == 0)
break;
} while (--n != 0);
- return (0);
+ return 0;
}
int
@@ -61,7 +61,7 @@ pg_char_and_wchar_strncmp(s1, s2, n)
{
if (n == 0)
- return (0);
+ return 0;
do {
if ((pg_wchar )*s1 != *s2++)
return (*(const pg_wchar *)s1 -
@@ -69,7 +69,7 @@ pg_char_and_wchar_strncmp(s1, s2, n)
if (*s1++ == 0)
break;
} while (--n != 0);
- return (0);
+ return 0;
}
size_t