Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix warnings #32

Closed
maxime-esa opened this issue Jul 16, 2019 · 1 comment
Closed

Fix warnings #32

maxime-esa opened this issue Jul 16, 2019 · 1 comment
Assignees

Comments

@maxime-esa
Copy link
Contributor

The following warnings should be fixed in the runtime:

po_hi_transport.c:457:66: warning: unused parameter 'task_id' [-Wunused-parameter]
po_hi_transport.c:457:90: warning: unused parameter 'port' [-Wunused-parameter]
po_hi_transport.c:526:73: warning: unused parameter 'src' [-Wunused-parameter]
po_hi_transport.c:526:99: warning: unused parameter 'dst' [-Wunused-parameter]
po_hi_transport.c:539: 100: warning: unused parameter 'p' [-Wunused-parameter]

po_hi_semaphore.c:39:107: warning: unused parameter 'id' [-Wunused-parameter]

po_hi_task.c:483:40: warning: cast between incompatible function types from 'void * ()(void)' to 'void * ()(void )' [-Wcast-function-type]
err = pthread_create (&tid, &attr, (void
()(void))start_routine, arg);
^
And these in the generated code:

activity.c : variable "error" is set but not used

@yoogx yoogx self-assigned this Nov 15, 2020
@yoogx
Copy link
Contributor

yoogx commented Nov 15, 2020

Closing, this ticket is addressed by OpenAADL/ocarina#268

@yoogx yoogx closed this as completed Nov 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants