| 70 | /////////////////////////////////////////// |
| 71 | |
| 72 | bool string_eq(const char *a, const char *b) { |
| 73 | if (a == nullptr || b == nullptr) return false; |
| 74 | while (*a != '\0' && *b != '\0') { |
| 75 | if (*a != *b) |
| 76 | return false; |
| 77 | a++; |
| 78 | b++; |
| 79 | } |
| 80 | return *a == *b; |
| 81 | } |
| 82 | |
| 83 | /////////////////////////////////////////// |
| 84 |
no outgoing calls
no test coverage detected