RT3820: Don't call GetDesktopWindow()
authorGilles Khouzam <Gilles.Khouzam@microsoft.com>
Sat, 2 May 2015 02:20:42 +0000 (22:20 -0400)
committerRich Salz <rsalz@openssl.org>
Sat, 2 May 2015 12:02:18 +0000 (08:02 -0400)
Signed-off-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(cherry picked from commit bed2edf1cb73f1fe2c11029acc694086bc14443e)

crypto/cryptlib.c

index f0a1c316271788a547a5d2e5246fdd7de9dc7493..4c91dbe11c31f88d511cdb0faa5476b38e1fa51e 100644 (file)
@@ -776,8 +776,6 @@ int OPENSSL_isservice(void)
     if (_OPENSSL_isservice.p != (void *)-1)
         return (*_OPENSSL_isservice.f) ();
 
-    (void)GetDesktopWindow();   /* return value is ignored */
-
     h = GetProcessWindowStation();
     if (h == NULL)
         return -1;