aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.c
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-04-15 21:05:10 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-04-15 21:05:10 +0530
commit124d66dcbd23849ca8be68ab37adf021bde34791 (patch)
treec9afa0799aa3cd8cbc1475217c79a103a0b9748e /src/nnn.c
parent425c0559a572200ad5add98962b4b78f15d8a9cc (diff)
downloadnnn-124d66dcbd23849ca8be68ab37adf021bde34791.tar.gz
Fix build break
Diffstat (limited to 'src/nnn.c')
-rw-r--r--src/nnn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nnn.c b/src/nnn.c
index c724acc..1eb7fe3 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -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
}