summaryrefslogtreecommitdiffstats
path: root/js/src/vm/ObjectGroup.cpp
diff options
context:
space:
mode:
authoradeshkp <adeshkp@users.noreply.github.com>2019-03-14 09:53:02 -0400
committeradeshkp <adeshkp@users.noreply.github.com>2019-03-14 09:53:02 -0400
commit90d1ee25b1de235847605fbc95a9ddebcf5c061d (patch)
treebacd5705d6571f95a5fd1807f68c76ed8bd6ac6b /js/src/vm/ObjectGroup.cpp
parent52be954e59b3ef06b7e8bfa28630e1005351d183 (diff)
downloadUXP-90d1ee25b1de235847605fbc95a9ddebcf5c061d.tar
UXP-90d1ee25b1de235847605fbc95a9ddebcf5c061d.tar.gz
UXP-90d1ee25b1de235847605fbc95a9ddebcf5c061d.tar.lz
UXP-90d1ee25b1de235847605fbc95a9ddebcf5c061d.tar.xz
UXP-90d1ee25b1de235847605fbc95a9ddebcf5c061d.zip
Remove a couple of unused variables
Diffstat (limited to 'js/src/vm/ObjectGroup.cpp')
-rw-r--r--js/src/vm/ObjectGroup.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/js/src/vm/ObjectGroup.cpp b/js/src/vm/ObjectGroup.cpp
index 1fbf8976b..46159a972 100644
--- a/js/src/vm/ObjectGroup.cpp
+++ b/js/src/vm/ObjectGroup.cpp
@@ -495,7 +495,6 @@ ObjectGroup::defaultNewGroup(ExclusiveContext* cx, const Class* clasp,
if (associated->is<JSFunction>()) {
// Canonicalize new functions to use the original one associated with its script.
- JSFunction* fun = &associated->as<JSFunction>();
associated = associated->as<JSFunction>().maybeCanonicalFunction();
// If we have previously cleared the 'new' script information for this