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:
@@ -107,14 +107,14 @@ call_apm_bios(bios_regs *regs)
|
|||||||
"=S" (regs->esi), "=m" (regs->flags)
|
"=S" (regs->esi), "=m" (regs->flags)
|
||||||
: "a" (regs->eax), "b" (regs->ebx), "c" (regs->ecx)
|
: "a" (regs->eax), "b" (regs->ebx), "c" (regs->ecx)
|
||||||
: "memory", "edi", "cc");
|
: "memory", "edi", "cc");
|
||||||
#else
|
|
||||||
return B_ERROR;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (regs->flags & CARRY_FLAG)
|
if (regs->flags & CARRY_FLAG)
|
||||||
return B_ERROR;
|
return B_ERROR;
|
||||||
|
|
||||||
return B_OK;
|
return B_OK;
|
||||||
|
#else
|
||||||
|
return B_ERROR;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user