summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2007-10-22 01:02:22 +0000
committerTom Lane2007-10-22 01:02:22 +0000
commitf2c38ddda33d7d076a7fb00ed78a65d32dd251b6 (patch)
treed5baac9e0595a999e07f9590d977696339341edb
parent123a1484e4dd316b970cd7cd361f8859c2eab8e4 (diff)
Add a useless return statement to suppress a warning seen with some
versions of gcc (I'm seeing it with Apple's gcc 4.0.1). I think the reason we did not see this before was that the assert() macros in the regex code were all no-ops till recently.
-rw-r--r--src/backend/regex/regc_lex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/regex/regc_lex.c b/src/backend/regex/regc_lex.c
index b65a82c938..8269a288a2 100644
--- a/src/backend/regex/regc_lex.c
+++ b/src/backend/regex/regc_lex.c
@@ -1071,6 +1071,7 @@ brenext(struct vars * v,
}
assert(NOTREACHED);
+ return 0;
}
/*