Skip to content

Commit 216c93d

Browse files
committed
false-positive code check ignored
1 parent e72f19e commit 216c93d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

TonLibDotNet/Utils/AddressValidator.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,12 @@ public static bool TryParseAddress(
107107
}
108108
}
109109

110+
#pragma warning disable S2583 // https://github.com/SonarSource/sonar-dotnet/issues/5601 S2583 FP: Variable change not detected inside a loop
110111
if (safeFound && unsafeFound)
111112
{
112113
return false;
113114
}
115+
#pragma warning restore S2583 // Conditionally executed code should be reachable
114116

115117
urlSafe = !unsafeFound;
116118

0 commit comments

Comments
 (0)