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 various warnings #135

Merged

Conversation

RICCIARDI-Adrien
Copy link
Contributor

Fixed various warnings that were bothering me during development.

The 'foo' parameter is not used and triggers a compilation warning.

Signed-off-by: Adrien Ricciardi <[email protected]>
The 'error' parameter is not used when the shutdown hook support is not enabled
and triggers a warning in and triggers a compilation warning in os/tpl_os_os_kernel.c,
function tpl_call_shutdown_os().

Signed-off-by: Adrien Ricciardi <[email protected]>
…ack_footprint().

The 'proc_id' parameter is not used and triggers a compilation warning.

Signed-off-by: Adrien Ricciardi <[email protected]>
The 'task_id' and 'incoming_event' parameters are not used and trigger
a compilation warning.

Signed-off-by: Adrien Ricciardi <[email protected]>
@RICCIARDI-Adrien
Copy link
Contributor Author

@jlbirccyn, are you OK if I send some PRs like this with fixes for the warnings I find while developing ?

The 'n' parameter is not used and triggers a compilation warning.

Signed-off-by: Adrien Ricciardi <[email protected]>
…l_resume_os_interrupts_service() because they were always true.

The 'GET_LOCK_CNT_FOR_CORE' macro returns the 'tpl_locking_depth' variable, which is unsigned.
Thus, checking if it is greater or equal to zero is always true.

Signed-off-by: Adrien Ricciardi <[email protected]>
…ext_trampoline().

The 'sigid' arameter is not used and triggers a compilation warning.

Signed-off-by: Adrien Ricciardi <[email protected]>
@jlbirccyn
Copy link
Member

Yes I am !

@jlbirccyn jlbirccyn merged commit fad6cbe into TrampolineRTOS:master Oct 13, 2023
@RICCIARDI-Adrien RICCIARDI-Adrien deleted the fix_various_warnings branch October 13, 2023 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants