RT3820: Don't call GetDesktopWindow()

Signed-off-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(cherry picked from commit bed2edf1cb73f1fe2c11029acc694086bc14443e)
This commit is contained in:
Gilles Khouzam 2015-05-01 22:20:42 -04:00 committed by Rich Salz
parent cd258a84db
commit ee827adf04

View File

@ -806,8 +806,6 @@ int OPENSSL_isservice(void)
if (_OPENSSL_isservice.p != (void *)-1) if (_OPENSSL_isservice.p != (void *)-1)
return (*_OPENSSL_isservice.f) (); return (*_OPENSSL_isservice.f) ();
(void)GetDesktopWindow(); /* return value is ignored */
h = GetProcessWindowStation(); h = GetProcessWindowStation();
if (h == NULL) if (h == NULL)
return -1; return -1;