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

resolve warning: assignment discards 'const' qualifier from pointer target type #251

Closed
wants to merge 1 commit into from

Conversation

frankmorgner
Copy link
Member

Fixes #245

@viktorTarasov
Copy link
Member

'Fixed warning unused variable' applied in 35b74f3 (branch opensc-0.14.0) .

As for a "back to const", I prefer to postpone it for later.

@frankmorgner
Copy link
Member Author

As for a "back to const", I prefer to postpone it for later.

Why, when and how?

@viktorTarasov
Copy link
Member

Why, when and how?

In commit message I read:
fixes most warnings about discarded const qualifier

For me it means that there is no solution yet.

@frankmorgner
Copy link
Member Author

All warnings due to the data member are fixed, problem solved.

However, there are still warnings due to discarded const qualifiers of different data structures that are not related to sc_apdu_t.

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.

resolve warning: assignment discards 'const' qualifier from pointer target type
2 participants