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 5c6dda8 commit 205ece1Copy full SHA for 205ece1
compiler-rt/lib/asan/asan_interceptors.cpp
@@ -58,18 +58,16 @@ namespace __asan {
58
59
static inline uptr MaybeRealStrnlen(const char *s, uptr maxlen) {
60
#if SANITIZER_INTERCEPT_STRNLEN
61
- if (REAL(strnlen)) {
+ if (REAL(strnlen))
62
return REAL(strnlen)(s, maxlen);
63
- }
64
#endif
65
return internal_strnlen(s, maxlen);
66
}
67
68
static inline uptr MaybeRealWcsnlen(const wchar_t *s, uptr maxlen) {
69
#if SANITIZER_INTERCEPT_WCSNLEN
70
- if (REAL(wcsnlen)) {
+ if (REAL(wcsnlen))
71
return REAL(wcsnlen)(s, maxlen);
72
73
74
return internal_wcsnlen(s, maxlen);
75
0 commit comments