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
This commit is contained in:
shaneharris 2017-08-05 01:29:50 +01:00 committed by Samuel Mannehed
parent 74a29f3ff5
commit b5c982ea42
1 changed files with 0 additions and 1 deletions

View File

@ -1008,7 +1008,6 @@ RFB.prototype = {
} else { } else {
return this._fail("Authentication failure"); return this._fail("Authentication failure");
} }
return false;
case 2: case 2:
return this._fail("Too many authentication attempts"); return this._fail("Too many authentication attempts");
default: default: