Update rfb.js

This commit is contained in:
shaneharris 2017-07-30 12:25:59 +01:00 committed by GitHub
parent e8367e2f4e
commit 2f778a28bf
1 changed files with 0 additions and 1 deletions

View File

@ -1009,7 +1009,6 @@ RFB.prototype = {
} else { } else {
return this._fail("Authentication failure"); return this._fail("Authentication failure");
} }
//return false; causes TypeScript error: novnc/core/rfb.js(1012,17): Error TS7027: Unreachable code detected.
case 2: case 2:
return this._fail("Too many authentication attempts"); return this._fail("Too many authentication attempts");
default: default: