Messages in this thread | | | Date | Wed, 27 May 2015 11:31:36 +0200 | From | Lars Ellenberg <> | Subject | Re: [Drbd-dev] [PATCH] block:drbd:drbd_receiver - Change 1/0 to true/false for bool type variable rv in function overlapping_resync_write(). |
| |
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.
Lars
> - bool rv = 0; > + bool rv = false;
> - rv = 1; > + rv = true;
| |