| 216 | } |
| 217 | |
| 218 | static void report_invalid_attr(const char *name, size_t len, |
| 219 | const char *src, int lineno) |
| 220 | { |
| 221 | struct strbuf err = STRBUF_INIT; |
| 222 | strbuf_addf(&err, _("%.*s is not a valid attribute name"), |
| 223 | (int) len, name); |
| 224 | fprintf(stderr, "%s: %s:%d\n", err.buf, src, lineno); |
| 225 | strbuf_release(&err); |
| 226 | } |
| 227 | |
| 228 | /* |
| 229 | * Given a 'name', lookup and return the corresponding attribute in the global |
no test coverage detected