summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshaneharris <shane@xactaccounts.co.uk>2017-08-05 01:29:50 +0100
committerSamuel Mannehed <samuel@cendio.se>2017-08-05 02:29:50 +0200
commitb5c982ea4207a711a6d335019eb890ac9c3a538c (patch)
treeeb62dbb9ebfa9974a0a2be05ea179f9896ea18f7
parent74a29f3ff592a032e457b2a55e1ea56ee653eb0f (diff)
downloadnovnc-b5c982ea4207a711a6d335019eb890ac9c3a538c.tar.gz
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
-rw-r--r--core/rfb.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/rfb.js b/core/rfb.js
index 4def709..ece0f00 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: