From 94d111a94533c0c31231642e8ffe4fbd4ce30096 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 29 May 2017 18:27:50 +0200 Subject: lint for unused variables, fix query bug detected by this --- src/crypto/cryptoApi.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/crypto/cryptoApi.ts') diff --git a/src/crypto/cryptoApi.ts b/src/crypto/cryptoApi.ts index b5d7d4fb9..c3c1f508a 100644 --- a/src/crypto/cryptoApi.ts +++ b/src/crypto/cryptoApi.ts @@ -100,7 +100,7 @@ export class CryptoApi { /** * Start a worker (if not started) and set as busy. */ - wake(ws: WorkerState, work: WorkItem): void { + wake(ws: WorkerState, work: WorkItem): void { if (ws.currentWorkItem !== null) { throw Error("assertion failed"); } @@ -238,7 +238,7 @@ export class CryptoApi { continue; } - this.wake(ws, workItem); + this.wake(ws, workItem); return; } -- cgit v1.2.3