]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
apps/prime.c: Remove unused assignment
authorNorbert Pocs <norbertp@openssl.org>
Fri, 16 May 2025 09:09:51 +0000 (11:09 +0200)
committerTomas Mraz <tomas@openssl.org>
Mon, 19 May 2025 14:23:54 +0000 (16:23 +0200)
The variable is never read after the assignment.

Coverity issue: 1646789

Signed-off-by: Norbert Pocs <norbertp@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27636)

apps/prime.c

index 1e149a3bd5da37f21145933d365b984cdfdb597f..fbc20ccb3116f39a6182493e67a5e50a38b788fd 100644 (file)
@@ -203,7 +203,6 @@ opthelp:
                     BIO_printf(bio_err, "Read error in %s\n", argv[0]);
 
                 BIO_free(in);
-                in = NULL;
             }
         }
     }