diff options
| author | Bond-009 <bond.009@outlook.com> | 2023-04-10 21:21:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-10 21:21:17 +0200 |
| commit | 15c8854502a4a9006754921d2bcef016e87b1104 (patch) | |
| tree | 3a4053580db57f7f235d8324fb8de7f0e7047e59 /RSSDP/HttpParserBase.cs | |
| parent | c92ad0dc4bf3da2d6eeb87a47d3322bba2de1503 (diff) | |
| parent | 890fe183cf2f86e899671e78dcc25ef3eb9cc7e7 (diff) | |
Merge pull request #9607 from goremykin/fix_analyzers_warnings_and_suggestions
Diffstat (limited to 'RSSDP/HttpParserBase.cs')
| -rw-r--r-- | RSSDP/HttpParserBase.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/RSSDP/HttpParserBase.cs b/RSSDP/HttpParserBase.cs index 6b6c13d99..1949a9df3 100644 --- a/RSSDP/HttpParserBase.cs +++ b/RSSDP/HttpParserBase.cs @@ -221,10 +221,8 @@ namespace Rssdp.Infrastructure { return trimmedSegment.Substring(1, trimmedSegment.Length - 2); } - else - { - return trimmedSegment; - } + + return trimmedSegment; } } } |
