Skip to content

Commit

Permalink
Remove unnecessary locals
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmarbach committed Nov 9, 2024
1 parent d97d1e8 commit ffca58c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions sdk/src/Core/Amazon.Runtime/Internal/Util/Logger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ private Logger(Type type)
{
loggers = new List<InternalLogger>(3);
#pragma warning disable
InternalLog4netLogger log4netLogger = new InternalLog4netLogger(type);
loggers.Add(log4netLogger);
loggers.Add(new InternalLog4netLogger(type));
#pragma warning restore
}
else
Expand All @@ -56,8 +55,7 @@ private Logger(Type type)
}

loggers.Add(new InternalConsoleLogger(type));
InternalSystemDiagnosticsLogger sdLogger = new InternalSystemDiagnosticsLogger(type);
loggers.Add(sdLogger);
loggers.Add(new InternalSystemDiagnosticsLogger(type));
ConfigureLoggers();
AWSConfigs.PropertyChanged += ConfigsChanged;
}
Expand Down

0 comments on commit ffca58c

Please sign in to comment.