Bug 1331809 - Remove unused variable in WrapperOwner::hasInstance(). r=kanru draft
authorAndrew McCreight <continuation@gmail.com>
Tue, 17 Jan 2017 16:34:16 -0800
changeset 462821 4623ae7aaa2b
parent 462820 01e6be5bd3ba
child 542489 7f972dc2418a
push id41859
push userbmo:continuation@gmail.com
push date2017-01-18 00:35 +0000
reviewerskanru
bugs1331809
milestone53.0a1
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);
 }