Skip to content

Fix Build Without Assert #25

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

kivkiv12345
Copy link

Currently csp_if_zmqhub.c will fail to build without assert, due to the presence of "unused" 'int ret;' variables.

This PR proposes to fix this compile error by always building this file with assert, at least until we properly handle the returned error.

It's possible we want to handle the error instead.
In which case we're required to tear down the partially initialized interface.
…nd csp_zmqhub_init_filter2()

We no longer assert that connections to publisher and subscriber are successful.
But we still that some thread attributes are set correctly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant