call_apm_bios(): Moved otherwise unreachable code into "#if __GNUC__ < 4"

block (CID 10315).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40080 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2011-01-02 23:30:28 +00:00
parent b51ec9de58
commit b0da468aeb

View File

@ -107,14 +107,14 @@ call_apm_bios(bios_regs *regs)
"=S" (regs->esi), "=m" (regs->flags)
: "a" (regs->eax), "b" (regs->ebx), "c" (regs->ecx)
: "memory", "edi", "cc");
#else
return B_ERROR;
#endif
if (regs->flags & CARRY_FLAG)
return B_ERROR;
return B_OK;
#else
return B_ERROR;
#endif
}