Alexey Serbin has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/20671 )

Change subject: [util] fix compilation warning
......................................................................

[util] fix compilation warning

This patch fixes compilation warning produced by GCC:

  src/kudu/util/env_posix.cc:484:22: warning: format ‘%x’ expects
      argument of type ‘unsigned int’, but argument 2 has type
      ‘kudu::{anonymous}::EncryptionAlgorithm’ [-Wformat=]
          StringPrintf("no cipher for algorithm 0x%02x", eh->algorithm));

I also wrapped the results of GetEVPCipher() into PREDICT_FALSE() macro.

Change-Id: I040c26a3d6d0e9b5350053848a12b4860ab9be4a
Reviewed-on: http://gerrit.cloudera.org:8080/20671
Reviewed-by: Yifan Zhang <[email protected]>
Tested-by: Kudu Jenkins
Reviewed-by: Mahesh Reddy <[email protected]>
---
M src/kudu/util/env_posix.cc
1 file changed, 6 insertions(+), 4 deletions(-)

Approvals:
  Yifan Zhang: Looks good to me, approved
  Kudu Jenkins: Verified
  Mahesh Reddy: Looks good to me, but someone else must approve

--
To view, visit http://gerrit.cloudera.org:8080/20671
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I040c26a3d6d0e9b5350053848a12b4860ab9be4a
Gerrit-Change-Number: 20671
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Abhishek Chennaka <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Mahesh Reddy <[email protected]>
Gerrit-Reviewer: Yifan Zhang <[email protected]>

Reply via email to