mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-02 04:12:53 +01:00
Clean up some catch statements
This commit is contained in:
@@ -130,7 +130,7 @@ namespace SharpCifs.Netbios
|
||||
{
|
||||
name = Runtime.GetStringForBytes(tmp, 0, length).Trim();
|
||||
}
|
||||
catch (Exception ex)
|
||||
catch (Exception)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -117,8 +117,9 @@ namespace SharpCifs.Netbios
|
||||
{
|
||||
Baddr = Config.GetInetAddress("jcifs.netbios.baddr", Extensions.GetAddressByName("255.255.255.255"));
|
||||
}
|
||||
catch (Exception ex)
|
||||
catch (Exception)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
_sndBuf = new byte[SndBufSize];
|
||||
@@ -302,7 +303,10 @@ namespace SharpCifs.Netbios
|
||||
}
|
||||
|
||||
}
|
||||
catch (TimeoutException) { }
|
||||
catch (TimeoutException)
|
||||
{
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
if (_log.Level > 2)
|
||||
|
||||
Reference in New Issue
Block a user