diff --git a/Logging/MemoryLogger.cs b/Logging/MemoryLogger.cs index a612587..019600f 100644 --- a/Logging/MemoryLogger.cs +++ b/Logging/MemoryLogger.cs @@ -62,7 +62,7 @@ public class MemoryLogger : LoggerBase ret.Add(_logMessages.GetValueAtIndex(_lastLogMessageIndex + retIndex).ToString()); } } - catch (NullReferenceException e)//Called when LogMessage has not finished writing + catch (NullReferenceException)//Called when LogMessage has not finished writing { break; } diff --git a/Tranga/MangaConnectors/MangaConnector.cs b/Tranga/MangaConnectors/MangaConnector.cs index 834c74f..a6bcef0 100644 --- a/Tranga/MangaConnectors/MangaConnector.cs +++ b/Tranga/MangaConnectors/MangaConnector.cs @@ -225,7 +225,7 @@ public abstract class MangaConnector : GlobalBase } if (progressToken?.cancellationRequested ?? false) { - progressToken?.Complete(); + progressToken.Complete(); return HttpStatusCode.RequestTimeout; } progressToken?.Increment(); diff --git a/Tranga/Server.cs b/Tranga/Server.cs index bd9625e..7ba6122 100644 --- a/Tranga/Server.cs +++ b/Tranga/Server.cs @@ -52,7 +52,7 @@ public class Server : GlobalBase }); t.Start(); } - catch (HttpListenerException e) + catch (HttpListenerException) { }