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:
Kalervo Kujala 2012-03-20 14:16:48 +02:00
parent cdbbd76594
commit eb4ec7899a
5 changed files with 29 additions and 44 deletions

View file

@ -570,7 +570,6 @@ var CipherTransformFactory = (function CipherTransformFactoryClosure() {
};
}
error('Unknown crypto method');
return null;
}
CipherTransformFactory.prototype = {