diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-03-23 00:29:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-23 00:29:38 (GMT) |
commit | 98728706dd800e365cee6f601873b515e5f8822c (patch) | |
tree | 59f0d330a2543a9aaddf7de2dd2e7a939d2a810e /src/H5system.c | |
parent | 7ed1deb00f6fdc49aa48632096a8596f55cdf57f (diff) | |
download | hdf5-98728706dd800e365cee6f601873b515e5f8822c.zip hdf5-98728706dd800e365cee6f601873b515e5f8822c.tar.gz hdf5-98728706dd800e365cee6f601873b515e5f8822c.tar.bz2 |
Remove getlogin work-arounds (#2620)
Unused in the library
Diffstat (limited to 'src/H5system.c')
-rw-r--r-- | src/H5system.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/H5system.c b/src/H5system.c index d74bfcf..08a039b 100644 --- a/src/H5system.c +++ b/src/H5system.c @@ -442,22 +442,6 @@ H5_get_win32_times(H5_timevals_t *tvs /*in,out*/) } /* end H5_get_win32_times() */ #endif -#define WloginBuffer_count 256 -static char Wlogin_buffer[WloginBuffer_count]; - -char * -Wgetlogin(void) -{ - -#ifdef H5_HAVE_WIN32_API - DWORD bufferCount = WloginBuffer_count; - if (GetUserName(Wlogin_buffer, &bufferCount) != 0) - return (Wlogin_buffer); - else -#endif - return NULL; -} - /*------------------------------------------------------------------------- * Function: Wflock * |