Skip to content

Commit 98f7dc5

Browse files
authored
Apply suggestions from code review
1 parent 2fbb3b0 commit 98f7dc5

File tree

1 file changed

+2
-0
lines changed
  • libcxx/include/__locale_dir/support

1 file changed

+2
-0
lines changed

libcxx/include/__locale_dir/support/linux.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ inline _LIBCPP_HIDE_FROM_ABI long long __strtoll(const char* __nptr, char** __en
9898
#if !defined(_LIBCPP_HAS_MUSL_LIBC)
9999
return ::strtoll_l(__nptr, __endptr, __base, __loc);
100100
#else
101+
(void)__loc;
101102
return ::strtoll(__nptr, __endptr, __base);
102103
#endif
103104
}
@@ -107,6 +108,7 @@ __strtoull(const char* __nptr, char** __endptr, int __base, __locale_t __loc) {
107108
#if !defined(_LIBCPP_HAS_MUSL_LIBC)
108109
return ::strtoull_l(__nptr, __endptr, __base, __loc);
109110
#else
111+
(void)__loc;
110112
return ::strtoull(__nptr, __endptr, __base);
111113
#endif
112114
}

0 commit comments

Comments
 (0)