From b5c982ea4207a711a6d335019eb890ac9c3a538c Mon Sep 17 00:00:00 2001 From: shaneharris Date: Sat, 5 Aug 2017 01:29:50 +0100 Subject: [PATCH] fix typscript error - the only one. (#837) * fix typscript error TypeScript error: novnc/core/rfb.js(1012,17): Error TS7027: Unreachable code detected. * Update rfb.js --- core/rfb.js | 1 - 1 file changed, 1 deletion(-) diff --git a/core/rfb.js b/core/rfb.js index 4def7099..ece0f008 100644 --- a/core/rfb.js +++ b/core/rfb.js @@ -1008,7 +1008,6 @@ RFB.prototype = { } else { return this._fail("Authentication failure"); } - return false; case 2: return this._fail("Too many authentication attempts"); default: