Avoid unbalancing the { } count in the source file with #ifdef by

putting the opening { after the #ifdef ... #endif sequence.

Found by:       FlexeLint
This commit is contained in:
phk 2003-05-31 20:25:53 +00:00
parent e01d5a0a97
commit 7722d85e80
2 changed files with 6 additions and 4 deletions

View File

@ -385,10 +385,11 @@ bios16(struct bios_args *args, char *fmt, ...)
ptd = (pd_entry_t *)rcr3();
#ifdef PAE
if (ptd == IdlePDPT) {
if (ptd == IdlePDPT)
#else
if (ptd == IdlePTD) {
if (ptd == IdlePTD)
#endif
{
/*
* no page table, so create one and install it.
*/

View File

@ -385,10 +385,11 @@ bios16(struct bios_args *args, char *fmt, ...)
ptd = (pd_entry_t *)rcr3();
#ifdef PAE
if (ptd == IdlePDPT) {
if (ptd == IdlePDPT)
#else
if (ptd == IdlePTD) {
if (ptd == IdlePTD)
#endif
{
/*
* no page table, so create one and install it.
*/