From 89fb142b49e100ec35edcfee81ddee59ba2fb149 Mon Sep 17 00:00:00 2001 From: Martin Olsson Date: Tue, 19 Aug 2014 11:38:54 -0400 Subject: [PATCH] RT2847: Don't "check" uninitialized memory Don't check err variable until after it's been set. Reviewed-by: Emilia Kasper --- demos/ssl/cli.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/demos/ssl/cli.cpp b/demos/ssl/cli.cpp index 49cba5da0c..5b4406d16f 100644 --- a/demos/ssl/cli.cpp +++ b/demos/ssl/cli.cpp @@ -42,8 +42,6 @@ void main () SSL_load_error_strings(); ctx = SSL_CTX_new (meth); CHK_NULL(ctx); - CHK_SSL(err); - /* ----------------------------------------------- */ /* Create a socket and connect to server using normal socket calls. */ -- 2.34.1