From 6d16cca5766396f048432bea57a0ad03a3c3d49d Mon Sep 17 00:00:00 2001 From: Daryl McDaniel Date: Tue, 10 Dec 2013 21:42:59 +0000 Subject: StdLib: Remove an unnecessary dependency from LibWchar. LibWchar is now a standalone library which can be used independent of the rest of StdLib. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Daryl McDaniel Reviewed-by: Matthew Stanbro git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14959 6f19259b-4bc3-4df7-8a09-765794883524 --- StdLib/LibC/Wchar/ConsDecons.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'StdLib/LibC/Wchar/ConsDecons.c') diff --git a/StdLib/LibC/Wchar/ConsDecons.c b/StdLib/LibC/Wchar/ConsDecons.c index 534d3e3b08..8435831834 100644 --- a/StdLib/LibC/Wchar/ConsDecons.c +++ b/StdLib/LibC/Wchar/ConsDecons.c @@ -19,7 +19,6 @@ #include -#include #include /* Data initialized by the library constructor */ @@ -44,9 +43,7 @@ __wchar_construct( ASSERT(__wchar_bitmap != NULL); if (EFI_ERROR (Status)) { __wchar_bitmap = NULL; - EFIerrno = Status; - errno = ENOMEM; - return EFIerrno; + return Status; } return RETURN_SUCCESS; } -- cgit v1.2.3