ctdb-tests: Add a local variable for repeated calculation
authorMartin Schwenke <martin@meltin.net>
Fri, 21 Jun 2019 11:16:18 +0000 (21:16 +1000)
committerAmitay Isaacs <amitay@samba.org>
Fri, 5 Jul 2019 05:03:23 +0000 (05:03 +0000)
commitf749356d9494ecbc2d6f50dd5706b29c00f67d7a
treebb0056611a275737d144737d7b0dae3a56d2bdcd
parent6053bf4bab4cfc01129c52352fd23cea501ab98c
ctdb-tests: Add a local variable for repeated calculation

This improves readability.  Also, the asserts involving this
expression get more complicated in the next commit, so this will keep
those asserts within a single line.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/src/ctdb_io_test.c