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

Clean build warnings #657

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

cydrain
Copy link
Collaborator

@cydrain cydrain commented Jun 19, 2024

Issue: #443

Copy link

mergify bot commented Jun 19, 2024

@cydrain 🔍 Important: PR Classification Needed!

For efficient project management and a seamless review process, it's essential to classify your PR correctly. Here's how:

  1. If you're fixing a bug, label it as kind/bug.
  2. For small tweaks (less than 20 lines without altering any functionality), please use kind/improvement.
  3. Significant changes that don't modify existing functionalities should be tagged as kind/enhancement.
  4. Adjusting APIs or changing functionality? Go with kind/feature.

For any PR outside the kind/improvement category, ensure you link to the associated issue using the format: “issue: #”.

Thanks for your efforts and contribution to the community!.

@cydrain
Copy link
Collaborator Author

cydrain commented Jun 19, 2024

/kind improvement

Copy link

codecov bot commented Jun 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.40%. Comparing base (3c46f4c) to head (ea11a38).
Report is 94 commits behind head on main.

Current head ea11a38 differs from pull request most recent head de2f8a4

Please upload reports for the commit de2f8a4 to get more accurate results.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           main     #657       +/-   ##
=========================================
+ Coverage      0   71.40%   +71.40%     
=========================================
  Files         0       69       +69     
  Lines         0     4728     +4728     
=========================================
+ Hits          0     3376     +3376     
- Misses        0     1352     +1352     

see 69 files with indirect coverage changes

@mergify mergify bot added the ci-passed label Jun 19, 2024
@mergify mergify bot added ci-passed and removed ci-passed labels Jun 19, 2024
@@ -1392,7 +1392,7 @@ class HierarchicalNSW : public AlgorithmInterface<dist_t> {
}

std::unique_ptr<int8_t[]> query_data_sq;
const data_t* raw_data = (const data_t*)query_data;
[[gnu::unused]] const data_t* raw_data = (const data_t*)query_data;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[[maybe_unused]]? Why use gnu directives? Clang may fail

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change to [[maybe_unused]]

@cydrain
Copy link
Collaborator Author

cydrain commented Jun 20, 2024

/hold

Signed-off-by: Cai Yudong <yudong.cai@zilliz.com>
@PwzXxm
Copy link
Collaborator

PwzXxm commented Jun 20, 2024

/lgtm
/approve

@sre-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cydrain, PwzXxm

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@cydrain
Copy link
Collaborator Author

cydrain commented Jun 20, 2024

/unhold

@sre-ci-robot sre-ci-robot merged commit 0e04323 into zilliztech:main Jun 20, 2024
10 of 11 checks passed
@cydrain cydrain deleted the caiyd_clean_build_warning branch June 20, 2024 06:40
xxxlzhxxx pushed a commit to xxxlzhxxx/knowhere that referenced this pull request Jul 23, 2024
Signed-off-by: Cai Yudong <yudong.cai@zilliz.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants