Commit cc5b8a7d authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

Fixing warnings: Unused parameter.

parent 21a7e30d
......@@ -939,7 +939,7 @@ void Add_api(Process *node, FV_list *all_fv)
decl = make_string("void %s_PI_%s_has_pending_msg(asn1SccT_Boolean *res)", fv->name, function->name);
fprintf(header, "%s;\n\n", decl);
fprintf(code, "%s {\n"
" /* Check all incoming queues (if any) for a pending message */\n", decl);
" /* Check all incoming queues (if any) for a pending message */\n (void)res;\n", decl);
/* Naming of ports/task id is different if there is more than 1 active PI */
int active = CountActivePI(function->interfaces);
FOREACH(pi, Interface, function->interfaces, {
......
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