| 212 | |
| 213 | namespace { |
| 214 | char SafeFirstChar(StringPiece str) { |
| 215 | if (str.empty()) return '\0'; |
| 216 | return str[0]; |
| 217 | } |
| 218 | void SkipSpaces(StringPiece* str) { |
| 219 | while (isspace(SafeFirstChar(*str))) str->remove_prefix(1); |
| 220 | } |
no test coverage detected