Skip to content

Commit

Permalink
Fix warning about used args in GolangFlyweightGenerator.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjpt777 committed Dec 11, 2024
1 parent 0c48ee3 commit 91813ea
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2236,7 +2236,7 @@ private CharSequence generateMessageFlyweightCode(
" %10$sSbeTemplateID %3$s = %4$s\n" +
" %10$sSbeSchemaID %5$s = %6$s\n" +
" %10$sSbeSchemaVersion %7$s = %8$s\n" +
" %10$sSbeSemanticVersion string = \"%13$s\"\n" +
" %10$sSbeSemanticVersion string = \"%11$s\"\n" +
" )\n\n" +

" func (m *%10$s) SbeBlockLength() %1$s {\n" +
Expand All @@ -2260,7 +2260,7 @@ private CharSequence generateMessageFlyweightCode(
" }\n\n" +

" func (m *%10$s) SbeSemanticVersion() string {\n" +
" return \"%13$s\"\n" +
" return \"%11$s\"\n" +
" }\n\n" +

" func (m *%10$s) SbeSemanticType() string {\n" +
Expand Down Expand Up @@ -2375,9 +2375,8 @@ private CharSequence generateMessageFlyweightCode(
generateLiteral(ir.headerStructure().schemaVersionType(), Integer.toString(ir.version())),
semanticType,
className,
generateConstructorsAndOperators(className),
formatClassName(headerType),
semanticVersion));
generateConstructorsAndOperators(className)));

return sb.toString();
}

Expand Down

0 comments on commit 91813ea

Please sign in to comment.