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 warnings in JWT #3

Merged
merged 1 commit into from Aug 2, 2018
Merged

Fix warnings in JWT #3

merged 1 commit into from Aug 2, 2018

Conversation

ghost
Copy link

@ghost ghost commented Aug 2, 2018

Fix some warnings:

  • Extra braces for braced-initialization using initializer_list
  • Unused parameters.

JIRA: None
@@ -70,10 +70,10 @@ namespace jwt {
namespace algorithm {

struct none {
std::string sign(const std::string& data) const {
std::string sign(const std::string&) const {
Copy link
Author

Choose a reason for hiding this comment

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

Would you prefer I just comment out the name instead of removing it?

Copy link
Owner

Choose a reason for hiding this comment

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

I think it is fine to remove it.

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.

None yet

1 participant