Skip to content

Commit

Permalink
LibertyReader::visitCellUserFunctionClass remove redundant stringCopy
Browse files Browse the repository at this point in the history
Signed-off-by: James Cherry <[email protected]>
  • Loading branch information
jjcherry56 committed Oct 19, 2024
1 parent 26f20e4 commit b0804a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion liberty/LibertyReader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3085,7 +3085,7 @@ LibertyReader::visitCellUserFunctionClass(LibertyAttr *attr)
if (cell_) {
const char *user_function_class = getAttrString(attr);
if (user_function_class)
cell_->setUserFunctionClass(stringCopy(user_function_class));
cell_->setUserFunctionClass(user_function_class);
}
}

Expand Down

0 comments on commit b0804a0

Please sign in to comment.