Skip to content

Commit 7849027

Browse files
Remove unused local
Leftover from refactoring.
1 parent 4ebfa21 commit 7849027

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OpenApi/src/Extensions/JsonNodeSchemaExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ internal static void ApplyValidationAttributes(this JsonNode schema, IEnumerable
102102
else
103103
{
104104
// Use InvariantCulture if explicitly requested or if the range has been set via the RangeAttribute(double, double) constructor.
105-
var targetCulture = rangeAttribute.ParseLimitsInInvariantCulture || rangeAttribute.Minimum is double x
105+
var targetCulture = rangeAttribute.ParseLimitsInInvariantCulture || rangeAttribute.Minimum is double
106106
? CultureInfo.InvariantCulture
107107
: CultureInfo.CurrentCulture;
108108

0 commit comments

Comments
 (0)