Grant Henke has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/15404 )
Change subject: [build] Fix compilation when NO_CHRONY is not defined ...................................................................... [build] Fix compilation when NO_CHRONY is not defined I found when building the test binary jar that compilation fails when `NO_CHRONY` is not defined because `num_ntp_servers` is accessed outside of the `NO_CHRONY` guard but does not exist when `!NO_CHRONY`. This patch fixes compilation by moving it into the guard. Change-Id: I9b6cc4bda188fb56f6dc4c67653ecdaecb7ad2de Reviewed-on: http://gerrit.cloudera.org:8080/15404 Tested-by: Grant Henke <[email protected]> Reviewed-by: Adar Dembo <[email protected]> --- M src/kudu/mini-cluster/external_mini_cluster.cc 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Grant Henke: Verified Adar Dembo: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/15404 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I9b6cc4bda188fb56f6dc4c67653ecdaecb7ad2de Gerrit-Change-Number: 15404 Gerrit-PatchSet: 2 Gerrit-Owner: Grant Henke <[email protected]> Gerrit-Reviewer: Adar Dembo <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Grant Henke <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120)
