diff options
| author | Bond_009 <bond.009@outlook.com> | 2021-10-06 11:30:45 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2021-10-06 11:30:45 +0200 |
| commit | 03f933aaa07113b0ae6971921249691c8455d5ba (patch) | |
| tree | 00784a96b657284a658ed5b319d3e192e7b8b7c9 /Emby.Server.Implementations/Data/BaseSqliteRepository.cs | |
| parent | c5285cee1c1819a45a6f6ce240eb6e1c108d3f7e (diff) | |
Fix the last few warnings
Enables TreatWarningsAsErrors for all projects
Diffstat (limited to 'Emby.Server.Implementations/Data/BaseSqliteRepository.cs')
| -rw-r--r-- | Emby.Server.Implementations/Data/BaseSqliteRepository.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Data/BaseSqliteRepository.cs b/Emby.Server.Implementations/Data/BaseSqliteRepository.cs index 4f6c81102..73c31f49d 100644 --- a/Emby.Server.Implementations/Data/BaseSqliteRepository.cs +++ b/Emby.Server.Implementations/Data/BaseSqliteRepository.cs @@ -98,7 +98,7 @@ namespace Emby.Server.Implementations.Data /// <value>The write connection.</value> protected SQLiteDatabaseConnection WriteConnection { get; set; } - protected ManagedConnection GetConnection(bool _ = false) + protected ManagedConnection GetConnection(bool readOnly = false) { WriteLock.Wait(); if (WriteConnection != null) |
