mirror of https://github.com/YosysHQ/abc.git
patch rewire with empty name
This commit is contained in:
parent
0ae04514cd
commit
04161dfda8
|
|
@ -105,7 +105,11 @@ void Miaig::setName(char *pName) {
|
|||
if (_data->pName) {
|
||||
free(_data->pName);
|
||||
}
|
||||
_data->pName = strdup(pName);
|
||||
if (pName == NULL || pName[0] == '\0') {
|
||||
_data->pName = strdup("rewire_miaig");
|
||||
} else {
|
||||
_data->pName = strdup(pName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue