Commit e56fb361 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras
Browse files

Appease more 'unused parameter' warnings.

parent c7fb0015
Pipeline #2577 passed with stage
in 3 minutes
......@@ -275,7 +275,10 @@ class SynchronousToolGlueGeneratorGeneric(Generic[TSource, TDestin]):
self.C_SourceFile.write(" int errorCode;\n")
self.C_SourceFile.write(" STATIC BitStream strm;\n\n")
# setup the asn1c encoder
self.C_SourceFile.write(" (void)iMaxBufferSize;\n")
self.C_SourceFile.write(" BitStream_Init(&strm, pBuffer, iMaxBufferSize);\n")
self.C_SourceFile.write(" (void)iMaxBufferSize;\n")
# Write the mapping code for the message
if self.useOSS and encoding.lower() == "uper":
......@@ -421,6 +424,7 @@ class SynchronousToolGlueGeneratorGeneric(Generic[TSource, TDestin]):
self.C_SourceFile.write(" /* Decoding succeeded */\n")
elif encoding.lower() == "native":
self.C_SourceFile.write(" (void) iBufferSize;\n")
self.C_SourceFile.write(" var_%s = *(asn1Scc%s *) pBuffer;\n {\n" %
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment