From fc6b6f9dd51c97bee3e7f611a687e2d65a318f98 Mon Sep 17 00:00:00 2001 From: aystarik Date: Wed, 29 Jun 2005 16:54:16 +0000 Subject: [PATCH] Removed all compilation warnings under BeOS. date 99.05.14.16.25.00; author grsmith1; state Exp; --- source/components/hardware/hwregs.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/components/hardware/hwregs.c b/source/components/hardware/hwregs.c index ae6004cdb..176c1f19e 100644 --- a/source/components/hardware/hwregs.c +++ b/source/components/hardware/hwregs.c @@ -107,7 +107,7 @@ #define _COMPONENT DEVICE_MANAGER -#pragma check_stack (off) +/* Is this needed? #pragma check_stack (off) */ /****************************************************************************** @@ -158,9 +158,9 @@ GetBitShift (UINT32 Mask) UINT32 AcpiRegisterIO (INT32 ReadWrite, INT32 RegisterId, ... /* UINT32 Value */) { - UINT32 RegisterValue; - UINT32 Mask; - UINT32 Value; + UINT32 RegisterValue = 0; + UINT32 Mask = 0; + UINT32 Value = 0; UINT32 GpeReg = 0; @@ -523,7 +523,7 @@ AcpiRegisterIO (INT32 ReadWrite, INT32 RegisterId, ... /* UINT32 Value */) return (RegisterValue); } -#pragma check_stack () +/* Is this needed? #pragma check_stack () */ /******************************************************************************