Commit 9f68a1ab authored by Michael Jerris's avatar Michael Jerris Committed by Pekka Pessi
Browse files

su: handle null in tt_ns and tt_name

parent 5ca620ff
......@@ -411,7 +411,7 @@ int tl_gets(tagi_t const lst[], tag_type_t tag, tag_value_t value, ...)
#if !defined(NDEBUG)
else if (tt->tt_class && tt->tt_class->tc_ref_set) {
fprintf(stderr, "WARNING: tag %s::%s directly used by tl_gets()\n",
tt->tt_ns, tt->tt_name);
tt->tt_ns ? tt->tt_ns : "", tt->tt_name ? tt->tt_name : "");
assert(tt->tt_class == ref_tag_class);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment