From bcb2e06b426e9408eba7a2f22fd97c58752dd358 Mon Sep 17 00:00:00 2001 From: mjpt777 Date: Wed, 11 Dec 2024 12:25:18 +0000 Subject: [PATCH] Fix warning about used variable in GolangFlyweightGenerator. --- .../generation/golang/flyweight/GolangFlyweightGenerator.java | 1 - 1 file changed, 1 deletion(-) diff --git a/sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/golang/flyweight/GolangFlyweightGenerator.java b/sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/golang/flyweight/GolangFlyweightGenerator.java index 5a44da3e6..259c46140 100644 --- a/sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/golang/flyweight/GolangFlyweightGenerator.java +++ b/sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/golang/flyweight/GolangFlyweightGenerator.java @@ -2174,7 +2174,6 @@ private CharSequence generateMessageFlyweightCode( final String schemaIdType = goTypeName(ir.headerStructure().schemaIdType()); final String schemaVersionType = goTypeName(ir.headerStructure().schemaVersionType()); final String semanticType = token.encoding().semanticType() == null ? "" : token.encoding().semanticType(); - final String headerType = ir.headerStructure().tokens().get(0).name(); final String semanticVersion = ir.semanticVersion() == null ? "" : ir.semanticVersion(); sb.append(" buffer []byte\n" +