Skip to content

Commit 8e382d8

Browse files
committed
lint: remove unused switch statement
1 parent 95e20d2 commit 8e382d8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/protocol/sequences/Handshake.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,6 @@ Handshake.prototype.determinePacket = function determinePacket(firstByte, parser
3434
};
3535

3636
Handshake.prototype['AuthSwitchRequestPacket'] = function (packet) {
37-
switch (packet.authMethodName) {
38-
case 'mysql_native_password':
39-
case 'mysql_old_password':
40-
default:
41-
}
42-
4337
if (packet.authMethodName === 'mysql_native_password') {
4438
var challenge = packet.authMethodData.slice(0, 20);
4539

0 commit comments

Comments
 (0)