We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dd9ca1 commit accf149Copy full SHA for accf149
src/data/str.c
@@ -185,7 +185,7 @@ xbool_t xstrcmp(const char *pStr, const char *pCmp)
185
186
xbool_t xstrmatch(const char *pStr, size_t nLength, const char *pPattern, size_t nPatternLength)
187
{
188
- XASSERT_RET((xstrused(pStr) && xstrused(pPattern)), XFALSE);
+ XASSERT_RET(((pStr != NULL) && (pPattern != NULL)), XFALSE);
189
if (!nPatternLength) return !nLength ? XTRUE : XFALSE;
190
191
if (pPattern[0] == '*')
0 commit comments