LibertyReader::visitCellUserFunctionClass remove redundant stringCopy
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
26f20e48b5
commit
b0804a01f2
|
|
@ -3085,7 +3085,7 @@ LibertyReader::visitCellUserFunctionClass(LibertyAttr *attr)
|
||||||
if (cell_) {
|
if (cell_) {
|
||||||
const char *user_function_class = getAttrString(attr);
|
const char *user_function_class = getAttrString(attr);
|
||||||
if (user_function_class)
|
if (user_function_class)
|
||||||
cell_->setUserFunctionClass(stringCopy(user_function_class));
|
cell_->setUserFunctionClass(user_function_class);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue