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:01:52 +0000 (08:01 -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 98526d73dc29d060f6cc7a61f64345e7b17659fd..ca0e3ccc0c7aa0fc3bab571a52498e6e113117c8 100644 (file)
@@ -825,8 +825,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;