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: function return value logic and variable initialization #2176

Merged
merged 3 commits into from
Dec 5, 2023
Merged

Conversation

Mixficsol
Copy link
Collaborator

fixed: #2175

@github-actions github-actions bot added the ☢️ Bug Something isn't working label Nov 29, 2023
@Mixficsol Mixficsol changed the title fix: fixed function return value logic and variable initialization fix: function return value logic and variable initialization Nov 29, 2023
@Mixficsol Mixficsol closed this Nov 29, 2023
@Mixficsol Mixficsol reopened this Nov 30, 2023
src/pika_admin.cc Outdated Show resolved Hide resolved
src/pika_admin.cc Outdated Show resolved Hide resolved
src/pika_admin.cc Outdated Show resolved Hide resolved
src/pika_admin.cc Outdated Show resolved Hide resolved
src/pika_admin.cc Outdated Show resolved Hide resolved
src/pika_admin.cc Outdated Show resolved Hide resolved
src/pika_admin.cc Outdated Show resolved Hide resolved
src/pika_set.cc Outdated
@@ -282,7 +282,7 @@ void SUnionCmd::DoInitial() {

void SUnionCmd::Do(std::shared_ptr<Slot> slot) {
std::vector<std::string> members;
slot->db()->SUnion(keys_, &members);
rocksdb::Status s = slot->db()->SUnion(keys_, &members);
Copy link
Collaborator

Choose a reason for hiding this comment

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

s看起来没有用到

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

src/pika_set.cc Outdated Show resolved Hide resolved
src/pika_set.cc Outdated Show resolved Hide resolved
@Mixficsol Mixficsol merged commit ff9adf6 into OpenAtomFoundation:unstable Dec 5, 2023
13 checks passed
bigdaronlee163 pushed a commit to bigdaronlee163/pika that referenced this pull request Jun 8, 2024
cheniujh pushed a commit to cheniujh/pika that referenced this pull request Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.5.3 ☢️ Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Function return value logical modification and variable initialization
4 participants