Skip to content

Commit a207737

Browse files
committed
Fixed compilation warnings
1 parent 393429a commit a207737

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

MLAPI/NetworkingManagerComponents/Cryptography/DiffieHellman.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public static IntX DEFAULT_PRIME
2121
{
2222
defaultPrime = (new IntX(1) << 255) - 19;
2323
}
24-
catch (Exception e)
24+
catch (Exception)
2525
{
2626
Debug.LogError("[MLAPI] CryptoLib failed to parse BigInt. If you are using .NET 2.0 Subset, switch to .NET 2.0 or .NET 4.5");
2727
}
@@ -43,7 +43,7 @@ public static IntX DEFAULT_ORDER
4343
{
4444
defaultOrder = (new IntX(1) << 252) + IntX.Parse("27742317777372353535851937790883648493");
4545
}
46-
catch (Exception e)
46+
catch (Exception)
4747
{
4848
Debug.LogError("[MLAPI] CryptoLib failed to parse BigInt. If you are using .NET 2.0 Subset, switch to .NET 2.0 or .NET 4.5");
4949
}
@@ -66,7 +66,7 @@ public static EllipticCurve DEFAULT_CURVE
6666
{
6767
defaultCurve = new EllipticCurve(486662, 1, DEFAULT_PRIME, EllipticCurve.CurveType.Montgomery);
6868
}
69-
catch (Exception e)
69+
catch (Exception)
7070
{
7171
Debug.LogError("[MLAPI] CryptoLib failed to parse BigInt. If you are using .NET 2.0 Subset, switch to .NET 2.0 or .NET 4.5");
7272
}
@@ -87,7 +87,7 @@ public static CurvePoint DEFAULT_GENERATOR
8787
{
8888
defaultGenerator = new CurvePoint(9, IntX.Parse("14781619447589544791020593568409986887264606134616475288964881837755586237401"));
8989
}
90-
catch (Exception e)
90+
catch (Exception)
9191
{
9292
Debug.LogError("[MLAPI] CryptoLib failed to parse BigInt. If you are using .NET 2.0 Subset, switch to .NET 2.0 or .NET 4.5");
9393
}

0 commit comments

Comments
 (0)