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

Avoid "ignored-qualifiers" warning in rdkafka.h. #4943

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Romain-Geissler-1A
Copy link
Contributor

This avoid this simple warning:

/remote/tmp/rnd-css/bms_workflow_replica/osp/Librdkafka/23-0-0-4/include/librdkafka/rdkafka.h:8258:1: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers]
 8258 | const int rd_kafka_TopicPartitionInfo_partition(
      | ^~~~~

indeed returning a const int makes no sense, it's just int.

/remote/tmp/rnd-css/bms_workflow_replica/osp/Librdkafka/23-0-0-4/include/librdkafka/rdkafka.h:8258:1: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers]
 8258 | const int rd_kafka_TopicPartitionInfo_partition(
      | ^~~~~
@Romain-Geissler-1A Romain-Geissler-1A requested a review from a team as a code owner December 30, 2024 18:39
@confluent-cla-assistant
Copy link

confluent-cla-assistant bot commented Dec 30, 2024

🎉 All Contributor License Agreements have been signed. Ready to merge.
✅ Romain-Geissler-1A
Please push an empty commit if you would like to re-run the checks to verify CLA status for all contributors.

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.

1 participant