KeDeng has posted comments on this change. ( http://gerrit.cloudera.org:8080/20182 )
Change subject: [compile] fix a compile warning ...................................................................... Patch Set 1: (1 comment) http://gerrit.cloudera.org:8080/#/c/20182/1/src/kudu/integration-tests/auto_incrementing-itest.cc File src/kudu/integration-tests/auto_incrementing-itest.cc: http://gerrit.cloudera.org:8080/#/c/20182/1/src/kudu/integration-tests/auto_incrementing-itest.cc@530 PS1, Line 530: ++j; : j = j % kNumTabletServers; > Would it be more readable if written simply as However, this implementation would cause the variable j to remain unchanged in the next loop. -- To view, visit http://gerrit.cloudera.org:8080/20182 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I125674ad3bfcc14ae5077b84d6f3d01fcacd1e08 Gerrit-Change-Number: 20182 Gerrit-PatchSet: 1 Gerrit-Owner: KeDeng <kdeng...@gmail.com> Gerrit-Reviewer: Alexey Serbin <ale...@apache.org> Gerrit-Reviewer: KeDeng <kdeng...@gmail.com> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Comment-Date: Tue, 11 Jul 2023 08:02:11 +0000 Gerrit-HasComments: Yes