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:06 +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 6353bbe3bc2b66e2ff715dc148872a94f136a560..c654a5c84f2c6d53bd1159a20cdab6d6cb1f76a4 100644 (file)
@@ -806,8 +806,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;