docproc: reduce unnecessary indentation
Improves clarity. No functional changes. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
committed by
Jonathan Corbet
parent
568fb2dec9
commit
868fb19212
@@ -445,7 +445,11 @@ static void parse_file(FILE *infile)
|
|||||||
char line[MAXLINESZ];
|
char line[MAXLINESZ];
|
||||||
char * s;
|
char * s;
|
||||||
while (fgets(line, MAXLINESZ, infile)) {
|
while (fgets(line, MAXLINESZ, infile)) {
|
||||||
if (line[0] == '!') {
|
if (line[0] != '!') {
|
||||||
|
defaultline(line);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
s = line + 2;
|
s = line + 2;
|
||||||
switch (line[1]) {
|
switch (line[1]) {
|
||||||
case 'E':
|
case 'E':
|
||||||
@@ -490,9 +494,6 @@ static void parse_file(FILE *infile)
|
|||||||
default:
|
default:
|
||||||
defaultline(line);
|
defaultline(line);
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
defaultline(line);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user