Alexey Serbin has uploaded this change for review. (
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
---
M src/kudu/util/env_posix.cc
1 file changed, 6 insertions(+), 4 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/71/20671/1
--
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: newchange
Gerrit-Change-Id: I040c26a3d6d0e9b5350053848a12b4860ab9be4a
Gerrit-Change-Number: 20671
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>