diff options
Diffstat (limited to 'src/bin/psql/tab-complete.c')
-rw-r--r-- | src/bin/psql/tab-complete.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c index 18a2595a3e0..86d0f2e365c 100644 --- a/src/bin/psql/tab-complete.c +++ b/src/bin/psql/tab-complete.c @@ -3558,7 +3558,7 @@ complete_from_list(const char *text, int state) const char *item; /* need to have a list */ - psql_assert(completion_charpp); + Assert(completion_charpp != NULL); /* Initialization */ if (state == 0) @@ -3620,7 +3620,7 @@ complete_from_list(const char *text, int state) static char * complete_from_const(const char *text, int state) { - psql_assert(completion_charp); + Assert(completion_charp != NULL); if (state == 0) { if (completion_case_sensitive) @@ -3708,7 +3708,7 @@ complete_from_files(const char *text, int state) /* expect a NULL return for the empty string only */ if (!unquoted_text) { - psql_assert(!*text); + Assert(*text == '\0'); unquoted_text = text; } } |