Skip to content

Commit

Permalink
udf: super.c reorganization
Browse files Browse the repository at this point in the history
reorganize few code blocks in super.c which
were needlessly indented (and hard to read):

so change from:
rettype fun()
{
	init;
	if (sth) {
		long block of code;
	}
}

to:
rettype fun()
{
	init;
	if (!sth)
		return;
	long block of code;
}

or

from:
rettype fun2()
{
	init;
	while (sth) {
		init2();
		if (sth2) {
			long block of code;
		}
	}
}

to:
rettype fun2()
{
	init;
	while (sth) {
		init2();
		if (!sth2)
			continue;
		long block of code;
	}
}

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
  • Loading branch information
Marcin Slusarz authored and Jan Kara committed Apr 17, 2008
1 parent af15a29 commit 165923f
Showing 1 changed file with 270 additions and 282 deletions.
Loading

0 comments on commit 165923f

Please sign in to comment.