David Ribeiro Alves has uploaded a new change for review.

  http://gerrit.cloudera.org:8080/5381

Change subject: Silence gcc warning on TimeManager::GetSafeTimeUnlocked()
......................................................................

Silence gcc warning on TimeManager::GetSafeTimeUnlocked()

gcc is issuing this warning:
../../src/kudu/consensus/time_manager.cc: In member function ‘kudu::Timestamp 
kudu::consensus::TimeManager::GetSafeTimeUnlocked()’:
../../src/kudu/consensus/time_manager.cc:232:1: warning: control reaches end of 
non-void function [-Wreturn-type]

This patch silences it by using '__builtin_unreachable()'.

Change-Id: I7a87b483453115ae34615698017482a0364b5dca
---
M src/kudu/consensus/time_manager.cc
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/81/5381/1
-- 
To view, visit http://gerrit.cloudera.org:8080/5381
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7a87b483453115ae34615698017482a0364b5dca
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: David Ribeiro Alves <[email protected]>

Reply via email to