summaryrefslogtreecommitdiffstats
path: root/js/src/vm/ObjectGroup.cpp
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@wolfbeast.com>2019-03-14 15:23:17 +0100
committerGitHub <noreply@github.com>2019-03-14 15:23:17 +0100
commit7650a03115a466a89974e240894f1d5e0063fdef (patch)
treead7d4f07c829208649d77a06b348e874ca80340b /js/src/vm/ObjectGroup.cpp
parent91cbd86a5e0e851904015fc98f3b4bb4422e584b (diff)
parentcf36d986290114b6dd1fcdac6c08283178629742 (diff)
downloadUXP-7650a03115a466a89974e240894f1d5e0063fdef.tar
UXP-7650a03115a466a89974e240894f1d5e0063fdef.tar.gz
UXP-7650a03115a466a89974e240894f1d5e0063fdef.tar.lz
UXP-7650a03115a466a89974e240894f1d5e0063fdef.tar.xz
UXP-7650a03115a466a89974e240894f1d5e0063fdef.zip
Merge pull request #1005 from adeshkp/compiler-warnings
Fix some compiler warnings
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