Fix build break

This commit is contained in:
Arun Prakash Jana 2020-04-15 21:05:10 +05:30
parent 425c0559a5
commit 124d66dcbd
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 2 additions and 2 deletions

View File

@ -930,9 +930,9 @@ static size_t xstrsncpy(char *restrict dst, const char *restrict src, size_t n)
static inline size_t xstrlen(const char *s)
{
#if !defined(__GLIBC__)
return strlen(s);
return strlen(s); // NOLINT
#else
return (char *)rawmemchr(s, '\0') - s;
return (char *)rawmemchr(s, '\0') - s; // NOLINT
#endif
}