From b0da468aeb3c40dcabd4e22cd00d723ae0205860 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sun, 2 Jan 2011 23:30:28 +0000 Subject: [PATCH] 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 --- src/system/kernel/arch/x86/apm.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/system/kernel/arch/x86/apm.cpp b/src/system/kernel/arch/x86/apm.cpp index b3581be4f3..f34b0b1b30 100644 --- a/src/system/kernel/arch/x86/apm.cpp +++ b/src/system/kernel/arch/x86/apm.cpp @@ -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 }