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 6f262cb commit 7aa4d32Copy full SHA for 7aa4d32
libs/strlib/strlib.c
@@ -46,6 +46,7 @@
46
#include "strlib/strlib.h"
47
48
/* https://stackoverflow.com/a/30734030/2410359 */
49
+/* NOLINTBEGIN(clang-diagnostic-shadow) */
50
int str_icmp(const char *s1, const char *s2) {
51
int ca;
52
int cb;
@@ -59,6 +60,7 @@ int str_icmp(const char *s1, const char *s2) {
59
60
} while (ca == cb && ca != '\0');
61
return ca - cb;
62
}
63
+/* NOLINTEND(clang-diagnostic-shadow) */
64
65
bool str_is_bool(const char *str, bool *extracted_val) {
66
if (0 == str_icmp(str, "true")) {
0 commit comments