Skip to content

Commit bcb2e06

Browse files
committed
Fix warning about used variable in GolangFlyweightGenerator.
1 parent fad6442 commit bcb2e06

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/golang/flyweight/GolangFlyweightGenerator.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2174,7 +2174,6 @@ private CharSequence generateMessageFlyweightCode(
21742174
final String schemaIdType = goTypeName(ir.headerStructure().schemaIdType());
21752175
final String schemaVersionType = goTypeName(ir.headerStructure().schemaVersionType());
21762176
final String semanticType = token.encoding().semanticType() == null ? "" : token.encoding().semanticType();
2177-
final String headerType = ir.headerStructure().tokens().get(0).name();
21782177
final String semanticVersion = ir.semanticVersion() == null ? "" : ir.semanticVersion();
21792178

21802179
sb.append(" buffer []byte\n" +

0 commit comments

Comments
 (0)