* tools/dev/gen-test-data/gen_diff_test_data.c:
(one_line_tag): Don't calculate string length when what we really
want to check is whether string is non-empty.
@@ -403,7 +403,7 @@ one_line_tag(const char * tag, const char * params,
{
indent_or_die();
- if ((params) && (strlen(params)))
+ if ((params) && (*params))
{
print_or_die("<%s %s>%s</%s>\n", tag, params, contents, tag);
}
