From 27390b58da657536594867681c8f21fb4d4a63fa Mon Sep 17 00:00:00 2001 From: Wojciech Mazur Date: Fri, 8 Nov 2024 16:21:30 +0100 Subject: [PATCH] Remove unused variable [skip ci] --- compiler/src/dotty/tools/dotc/profile/JsonNameTransformer.scala | 1 - 1 file changed, 1 deletion(-) diff --git a/compiler/src/dotty/tools/dotc/profile/JsonNameTransformer.scala b/compiler/src/dotty/tools/dotc/profile/JsonNameTransformer.scala index a1bb5f9552c5..b8b40ab841c2 100644 --- a/compiler/src/dotty/tools/dotc/profile/JsonNameTransformer.scala +++ b/compiler/src/dotty/tools/dotc/profile/JsonNameTransformer.scala @@ -5,7 +5,6 @@ import scala.annotation.internal.sharable // Based on NameTransformer but dedicated for JSON encoding rules object JsonNameTransformer { private val nops = 128 - private val ncodes = 26 * 26 @sharable private val op2code = new Array[String](nops) private def enterOp(op: Char, code: String) = op2code(op.toInt) = code