Bug 726961 - Remove unused variable database from IDBIndex::Create; r=khuey

This commit is contained in:
Ms2ger 2012-02-21 10:34:01 +01:00
parent 4a1b92efc5
commit 94747a42f3

View File

@ -308,8 +308,6 @@ IDBIndex::Create(IDBObjectStore* aObjectStore,
NS_ASSERTION(aObjectStore, "Null pointer!");
NS_ASSERTION(aIndexInfo, "Null pointer!");
IDBDatabase* database = aObjectStore->Transaction()->Database();
nsRefPtr<IDBIndex> index = new IDBIndex();
index->mObjectStore = aObjectStore;