summaryrefslogtreecommitdiff
path: root/contrib/fuzzystrmatch/fuzzystrmatch.c
diff options
context:
space:
mode:
authorPeter Eisentraut2022-10-28 07:19:06 +0000
committerPeter Eisentraut2022-10-28 07:19:06 +0000
commitb1099eca8f38ff5cfaf0901bb91cb6a22f909bc6 (patch)
tree8ef29d9ee5911b059c8ecd2123b50c411cfc7a9e /contrib/fuzzystrmatch/fuzzystrmatch.c
parentd37aa3d35832afde94e100c4d2a9618b3eb76472 (diff)
Remove AssertArg and AssertState
These don't offer anything over plain Assert, and their usage had already been declared obsolescent. Author: Nathan Bossart <nathandbossart@gmail.com> Reviewed-by: Michael Paquier <michael@paquier.xyz> Discussion: https://www.postgresql.org/message-id/20221009210148.GA900071@nathanxps13
Diffstat (limited to 'contrib/fuzzystrmatch/fuzzystrmatch.c')
-rw-r--r--contrib/fuzzystrmatch/fuzzystrmatch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/fuzzystrmatch/fuzzystrmatch.c b/contrib/fuzzystrmatch/fuzzystrmatch.c
index a04251ace61..5659cc71ace 100644
--- a/contrib/fuzzystrmatch/fuzzystrmatch.c
+++ b/contrib/fuzzystrmatch/fuzzystrmatch.c
@@ -724,8 +724,8 @@ _soundex(const char *instr, char *outstr)
{
int count;
- AssertArg(instr);
- AssertArg(outstr);
+ Assert(instr);
+ Assert(outstr);
outstr[SOUNDEX_LEN] = '\0';