Bug 1331809 - Remove unused variable in WrapperOwner::hasInstance(). r=kanru
authorAndrew McCreight <continuation@gmail.com>
Tue, 17 Jan 2017 16:34:16 -0800
changeset 374860 5b6e3ddaa0894dccf93c381eae4d83b74f29818e
parent 374859 c3f99c3904f15e6eddef13d3427c820a3fee54e1
child 374861 4d8dfb30875e59a6d35b4b7c0915b08788ec724f
push id6996
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 20:48:21 +0000
treeherdermozilla-beta@d89512dab048 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskanru
bugs1331809
milestone53.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1331809 - Remove unused variable in WrapperOwner::hasInstance(). r=kanru MozReview-Commit-ID: 3de6HDTVpU0
js/ipc/WrapperOwner.cpp
--- a/js/ipc/WrapperOwner.cpp
+++ b/js/ipc/WrapperOwner.cpp
@@ -712,17 +712,16 @@ WrapperOwner::hasInstance(JSContext* cx,
 {
     ObjectId objId = idOf(proxy);
 
     JSVariant vVar;
     if (!toVariant(cx, v, &vVar))
         return false;
 
     ReturnStatus status;
-    JSVariant result;
     if (!SendHasInstance(objId, vVar, &status, bp))
         return ipcfail(cx);
 
     LOG_STACK();
 
     return ok(cx, status);
 }