warn about empty strings in array. could be legitimate. */
| 289 | warn about empty strings in array. could be legitimate. |
| 290 | */ |
| 291 | static void check_macro_use_arguments(const char *where, |
| 292 | const apr_array_header_t * array) |
| 293 | { |
| 294 | char **tab = (char **) array->elts; |
| 295 | int i; |
| 296 | for (i = 0; i < array->nelts; i++) { |
| 297 | if (empty_string_p(tab[i])) { |
| 298 | ap_log_error(APLOG_MARK, APLOG_WARNING, 0, NULL, APLOGNO(02798) |
| 299 | "%s: empty argument #%d", where, i + 1); |
| 300 | } |
| 301 | } |
| 302 | } |
| 303 | |
| 304 | /******************************************************** SUBSTITUTION UTILS */ |
| 305 |
no test coverage detected