[Drbd-dev] [PATCH] block:drbd:drbd_receiver - Change 1/0 to true/false for bool type variable rv in function overlapping_resync_write().
lars.ellenberg at linbit.com
Wed May 27 11:31:36 CEST 2015
On Tue, May 26, 2015 at 01:45:09AM +0530, Shailendra Verma wrote:
> In function overlapping_resync_write() variable rv is bool type.
> Hence assigning the values as true/false instead of 1/0.
I like 0 and 1 better. So unless the powers that be rule this to be the
recommended or mandatory coding style, I consider this just noise.
> - bool rv = 0;
> + bool rv = false;
> - rv = 1;
> + rv = true;
More information about the drbd-dev