8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 06:03:02 +01:00

Simplification and indentation.

This commit is contained in:
robocop 2007-01-21 07:46:41 +00:00
parent f2aa5c1139
commit 8a06c80028
4 changed files with 15 additions and 17 deletions

View File

@ -70,7 +70,7 @@ struct ArgumentInfo
{
if (type == x.type)
return index > x.index;
else
return type > x.type;
}
};

View File

@ -644,10 +644,10 @@ struct Item
{
if (subType == x.subType)
return index > x.index;
else
return subType > x.subType;
}
else
return type > x.type;
}
};

View File

@ -3074,9 +3074,7 @@ static int blr_print_dtype(gds_ctl* control)
// 0 = TYPE OF; 1 = full domain
blr_print_byte(control);
UCHAR n = blr_print_byte(control);
while (n-- > 0)
for (UCHAR n = blr_print_byte(control); n > 0; --n)
blr_print_char(control);
if (dtype == blr_domain_name2)