APPS: Remove an unreachable statement in s_client.c
authorRichard Levitte <levitte@openssl.org>
Fri, 11 Jun 2021 16:11:07 +0000 (18:11 +0200)
committerRichard Levitte <levitte@openssl.org>
Sun, 13 Jun 2021 19:48:18 +0000 (21:48 +0200)
A Solaris compiler complains:

    "apps/s_client.c", line 2994: statement not reached

It takes a bit of scrutiny to see that this is true, on all platforms.

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15719)

apps/s_client.c

index 2b8f2744335109e1c9907773edc5c6469f54fa47..ac9b08dfc2eae86cf75548756ef069b41636e96b 100644 (file)
@@ -2991,7 +2991,6 @@ int s_client_main(int argc, char **argv)
         }
     }
 
-    ret = 0;
  shut:
     if (in_init)
         print_stuff(bio_c_out, con, full_log);