Remove unreachable logic after error(...) is called.
The function error(...) always throws so there is no need to return separately or have an else branch.
This commit is contained in:
parent
cdbbd76594
commit
eb4ec7899a
5 changed files with 29 additions and 44 deletions
|
@ -570,7 +570,6 @@ var CipherTransformFactory = (function CipherTransformFactoryClosure() {
|
|||
};
|
||||
}
|
||||
error('Unknown crypto method');
|
||||
return null;
|
||||
}
|
||||
|
||||
CipherTransformFactory.prototype = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue