]> git.proxmox.com Git - mirror_edk2.git/commit - StdLib/BsdSocketLib/gethostbydns.c
StdLib/BsdSocketLib: Remove unused variables
authorThiebaud Weksteen <tweek@google.com>
Thu, 26 Oct 2017 09:58:15 +0000 (02:58 -0700)
committerJaben Carsey <jaben.carsey@intel.com>
Mon, 13 Nov 2017 15:39:06 +0000 (07:39 -0800)
commitcb120565913676e4ae09b95ad66a4b321b4bee5d
tree9aae374e69f41fa075bf351fed94ba13d8edab1a
parent207bc6a38c0ab108f814963642880946f6ade32b
StdLib/BsdSocketLib: Remove unused variables

TianoCore BZ#677

Remove unused variables and turn nsdispatch macro into a function. This
is not what is recommended in the bug ticket but avoid heavier
modification of the code (and deviation from upsteam).

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Thiebaud Weksteen <tweek@google.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
StdLib/BsdSocketLib/getaddrinfo.c
StdLib/BsdSocketLib/gethostbydns.c