Skip to content

Commit

Permalink
Remove unused units table in pxr/usd/sdf/types.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
nvmkuruc committed Sep 9, 2023
1 parent 756dbb1 commit 6a18c98
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pxr/usd/sdf/types.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,6 @@ struct _UnitsInfo {
map<string, TfEnum> _DefaultUnitsMap;
map<string, TfEnum> _UnitCategoryToDefaultUnitMap;
map<string, string> _UnitTypeNameToUnitCategoryMap;
std::array<std::array<TfEnum, _Sdf_UnitMaxUnits>,
_Sdf_UnitNumTypes> _UnitIndicesTable;
std::array<std::array<std::string, _Sdf_UnitMaxUnits>,
_Sdf_UnitNumTypes> _UnitNameTable;
map<string, TfEnum> _UnitNameToUnitMap;
Expand Down Expand Up @@ -197,7 +195,6 @@ static void _AddToUnitsMaps(_UnitsInfo &info,
else {
typeIndex = i->second;
}
info._UnitIndicesTable[typeIndex][unit.GetValueAsInt()] = unit;
info._UnitNameTable[typeIndex][unit.GetValueAsInt()] = unitName;
info._UnitNameToUnitMap[unitName] = unit;
}
Expand Down

0 comments on commit 6a18c98

Please sign in to comment.