Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What is the method of defining the Function Prototype
#5
dg1980 Wrote:Can you provide a code snippet demonstrating the problem?
Also, which rule is reported as being violated (i assume MISRA.VAR.HIDDEN is some kind of incomplete static analyis tool output)?


Hi,
This is thefunction prototype : int wc_ed25519_init(ed25519_key* key);
and the function call is ret = wc_ed25519_init(keyPair);

ERROR:Identifier 'key' hides identifier in an outer scope which is reported from KlocWork tool analysis.
<t></t>
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)