break;
case M_name: {
agxbuf tmp = {0};
- agxbinit(&tmp, 0, NULL);
v->string = nameOf(pgm, objp, &tmp);
agxbfree(&tmp);
break;
if (!gsym) {
gsym = agattr(agroot(agraphof(objp)), AGTYPE(objp), sym->name, "");
agxbuf tmp = {0};
- agxbinit(&tmp, 0, NULL);
error(ERROR_WARNING,
"Using value of uninitialized %s attribute \"%s\" of \"%s\"",
kindOf (objp), sym->name, nameOf(pgm, objp, &tmp));
if (!gsym) {
gsym = agattr(agroot(agraphof(objp)), AGTYPE(objp), name, "");
agxbuf tmp = {0};
- agxbinit(&tmp, 0, NULL);
error(ERROR_WARNING,
"Using value of %s uninitialized attribute \"%s\" of \"%s\" in aget()",
kindOf (objp), name, nameOf(pgm, objp, &tmp));
}
else {
agxbuf tmp = {0};
- agxbinit(&tmp, 0, NULL);
x->data.constant.value.string = nameOf(prog, objp, &tmp);
agxbfree(&tmp);
}
if (!state->target) {
char *target;
agxbuf tmp = {0};
- agxbinit(&tmp, 0, NULL);
if (state->name_used) {
agxbprint(&tmp, "%s%d", state->tgtname, state->name_used);