From b81cc7d6249671a2c1e36f6c8ac01da0e0b7c612 Mon Sep 17 00:00:00 2001 From: Olivier Martin Date: Fri, 31 Oct 2014 20:32:02 +0000 Subject: StdLib: Fix more GCC warnings/errors caused by variables being set but not used. Removed variables that had no effect on code behavior. Normalized comment formatting. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin Reviewed by: Daryl McDaniel git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16286 6f19259b-4bc3-4df7-8a09-765794883524 --- StdLib/LibC/Uefi/Devices/Console/daConsole.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'StdLib/LibC') diff --git a/StdLib/LibC/Uefi/Devices/Console/daConsole.c b/StdLib/LibC/Uefi/Devices/Console/daConsole.c index 1f40177d47..884e7017b4 100644 --- a/StdLib/LibC/Uefi/Devices/Console/daConsole.c +++ b/StdLib/LibC/Uefi/Devices/Console/daConsole.c @@ -586,7 +586,6 @@ da_ConPoll( short events ) { - EFI_SIMPLE_TEXT_INPUT_PROTOCOL *Proto; ConInstance *Stream; EFI_STATUS Status = RETURN_SUCCESS; short RdyMask = 0; @@ -600,7 +599,6 @@ da_ConPoll( } if(Stream->InstanceNum == 0) { // STDIN: Only input is supported for this device - Proto = (EFI_SIMPLE_TEXT_INPUT_PROTOCOL *)Stream->Dev; Status = da_ConRawRead (filp, &Stream->UnGetKey); if(Status == RETURN_SUCCESS) { RdyMask = POLLIN; -- cgit v1.2.3