Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2b8f9421 authored by Fabian Frederick's avatar Fabian Frederick Committed by Jan Kara
Browse files

udf: use bool for done



variable 'done' is only used for true/false in loop.

Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent b10a0819
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1599,7 +1599,7 @@ static noinline int udf_process_sequence(
	struct udf_vds_record *curr;
	struct generic_desc *gd;
	struct volDescPtr *vdp;
	int done = 0;
	bool done = false;
	uint32_t vdsn;
	uint16_t ident;
	long next_s = 0, next_e = 0;
@@ -1680,7 +1680,7 @@ static noinline int udf_process_sequence(
				lastblock = next_e;
				next_s = next_e = 0;
			} else
				done = 1;
				done = true;
			break;
		}
		brelse(bh);