Bug 824883 - Fix three warnings in dom/ code. r=bz.

--HG--
extra : rebase_source : 3763606a23b66493596787ca33cec32618efa2f1
This commit is contained in:
Nicholas Nethercote 2012-12-26 20:24:59 -08:00
parent 12c4c00d62
commit 346fb8670d
3 changed files with 2 additions and 3 deletions

View File

@ -116,7 +116,7 @@ nsStructuredCloneContainer::DeserializeToVariant(JSContext *aCx,
// Deserialize to a jsval.
jsval jsStateObj;
JSBool hasTransferable;
JSBool hasTransferable = false;
bool success = JS_ReadStructuredClone(aCx, mData, mSize, mVersion,
&jsStateObj, nullptr, nullptr) &&
JS_StructuredCloneHasTransferables(mData, mSize,

View File

@ -1277,7 +1277,6 @@ public:
private:
JSObject* mOldReflector;
JSObject* mNewReflector;
size_t mSlot;
};
nsresult

View File

@ -259,7 +259,7 @@ PluginInstanceChild::InternalGetNPObjectForValue(NPNVariable aValue,
&currentResult);
break;
default:
NS_NOTREACHED("Don't know what to do with this value type!");
MOZ_ASSERT(false);
}
// Make sure that the current actor returned by the parent matches our