You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Mike Percy (Code Review)" <ge...@cloudera.org> on 2017/08/29 21:07:16 UTC
[kudu-CR] Squelch GCC warning in VerificationResultToString()
Mike Percy has uploaded a new change for review.
http://gerrit.cloudera.org:8080/7882
Change subject: Squelch GCC warning in VerificationResultToString()
......................................................................
Squelch GCC warning in VerificationResultToString()
This change silences the following GCC warning:
../../src/kudu/security/token_verifier.cc: In function ‘const char* kudu::security::VerificationResultToString(kudu::security::VerificationResult)’:
../../src/kudu/security/token_verifier.cc:164:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Change-Id: Icf0d04d2a44cd6c4c572d9c5080fcc05996ce7e3
---
M src/kudu/security/token_verifier.cc
M src/kudu/security/token_verifier.h
2 files changed, 4 insertions(+), 0 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/82/7882/1
--
To view, visit http://gerrit.cloudera.org:8080/7882
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icf0d04d2a44cd6c4c572d9c5080fcc05996ce7e3
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Mike Percy <mp...@apache.org>
[kudu-CR] Squelch GCC warning in VerificationResultToString()
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has submitted this change and it was merged.
Change subject: Squelch GCC warning in VerificationResultToString()
......................................................................
Squelch GCC warning in VerificationResultToString()
This change silences the following GCC warning:
../../src/kudu/security/token_verifier.cc: In function ‘const char* kudu::security::VerificationResultToString(kudu::security::VerificationResult)’:
../../src/kudu/security/token_verifier.cc:164:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Change-Id: Icf0d04d2a44cd6c4c572d9c5080fcc05996ce7e3
Reviewed-on: http://gerrit.cloudera.org:8080/7882
Tested-by: Kudu Jenkins
Reviewed-by: Alexey Serbin <as...@cloudera.com>
---
M src/kudu/security/token_verifier.cc
M src/kudu/security/token_verifier.h
2 files changed, 6 insertions(+), 0 deletions(-)
Approvals:
Alexey Serbin: Looks good to me, approved
Kudu Jenkins: Verified
--
To view, visit http://gerrit.cloudera.org:8080/7882
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Icf0d04d2a44cd6c4c572d9c5080fcc05996ce7e3
Gerrit-PatchSet: 3
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Mike Percy <mp...@apache.org>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
[kudu-CR] Squelch GCC warning in VerificationResultToString()
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has posted comments on this change.
Change subject: Squelch GCC warning in VerificationResultToString()
......................................................................
Patch Set 2: Code-Review+2
--
To view, visit http://gerrit.cloudera.org:8080/7882
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Icf0d04d2a44cd6c4c572d9c5080fcc05996ce7e3
Gerrit-PatchSet: 2
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Mike Percy <mp...@apache.org>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-HasComments: No
[kudu-CR] Squelch GCC warning in VerificationResultToString()
Posted by "Adar Dembo (Code Review)" <ge...@cloudera.org>.
Adar Dembo has posted comments on this change.
Change subject: Squelch GCC warning in VerificationResultToString()
......................................................................
Patch Set 1: Code-Review+2
(1 comment)
http://gerrit.cloudera.org:8080/#/c/7882/1/src/kudu/security/token_verifier.cc
File src/kudu/security/token_verifier.cc:
Line 165: << static_cast<int>(r);
Didn't know you could cast an enum class into an int. Neat.
--
To view, visit http://gerrit.cloudera.org:8080/7882
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Icf0d04d2a44cd6c4c572d9c5080fcc05996ce7e3
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Mike Percy <mp...@apache.org>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-HasComments: Yes
[kudu-CR] Squelch GCC warning in VerificationResultToString()
Posted by "Mike Percy (Code Review)" <ge...@cloudera.org>.
Hello Adar Dembo, Kudu Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/7882
to look at the new patch set (#2).
Change subject: Squelch GCC warning in VerificationResultToString()
......................................................................
Squelch GCC warning in VerificationResultToString()
This change silences the following GCC warning:
../../src/kudu/security/token_verifier.cc: In function ‘const char* kudu::security::VerificationResultToString(kudu::security::VerificationResult)’:
../../src/kudu/security/token_verifier.cc:164:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Change-Id: Icf0d04d2a44cd6c4c572d9c5080fcc05996ce7e3
---
M src/kudu/security/token_verifier.cc
M src/kudu/security/token_verifier.h
2 files changed, 6 insertions(+), 0 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/82/7882/2
--
To view, visit http://gerrit.cloudera.org:8080/7882
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Icf0d04d2a44cd6c4c572d9c5080fcc05996ce7e3
Gerrit-PatchSet: 2
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Mike Percy <mp...@apache.org>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins