Etype might have not been initialized when used

It is used here:

    g_strdup_printf (_("Entity type does not match %s: %s"), etype, location);

But previous it might not have been initialized.
This commit is contained in:
Hong Xu
2020-08-16 13:59:02 -07:00
committed by Christopher Lam
parent 58bf438ac8
commit f662935990

View File

@@ -279,6 +279,7 @@ ownerreportCB (const char *location, const char *label,
break;
}
default:
etype = "Undefined";
break;
}