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>
This commit is contained in:
committed by
Jaben Carsey
parent
207bc6a38c
commit
cb12056591
@@ -129,8 +129,10 @@ u_int16_t _getshort(const u_char *src);
|
||||
#define MAXALIASES 35
|
||||
#define MAXADDRS 35
|
||||
|
||||
#ifdef _ORG_FREEBSD_
|
||||
static const char AskedForGot[] =
|
||||
"gethostby*.gethostanswer: asked for \"%s\", got \"%s\"";
|
||||
#endif
|
||||
|
||||
static char *h_addr_ptrs[MAXADDRS + 1];
|
||||
|
||||
|
Reference in New Issue
Block a user