Skip to content

Conversation

@torwig
Copy link
Contributor

@torwig torwig commented Feb 12, 2024

These warnings during the CI build with Clang should disappear.

/home/runner/work/kvrocks/kvrocks/src/config/config_type.h:167:27: warning: local variable 's' will be copied despite being returned by name [-Wreturn-std-move]
    if (!s.IsOK()) return s;
                          ^
/home/runner/work/kvrocks/kvrocks/src/config/config_type.h:167:27: note: call 'std::move' explicitly to avoid copying
    if (!s.IsOK()) return s;
                          ^
                          std::move(s)
1 warning generated.

Thanks to @aleksraiden for noticing.

@sonarqubecloud
Copy link

@git-hulk git-hulk merged commit eee6486 into apache:unstable Feb 13, 2024
JoverZhang pushed a commit to JoverZhang/kvrocks that referenced this pull request Feb 24, 2024
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.

2 participants